Open fake-name opened 3 years ago
also, apparently rshell help is different then rshell --help. Wat.
The former is a command and the latter is an option, as in
usage: rshell [options] [command]
rhsell --help shows the command line options available when invoking rshell (and using --help is the standard way that most command line tools do this).
When you invoke rshell you can also pass commands to be executed and help
is one of those commands. If you start rshell and then issue the help
command it shows the available commands from within rshell and this is what happens when you run rshell help
. You could also run rshell ls .
to get a listing of files in the current directory.
It doesn't make sense for rshell help
to show all of the command line options that show up in --help since none of those are applicable once you've started rshell. It might make sense for rshell --help
to also include the output of the help
command.
Effectively the title. The help output of rshell doesn't actually list the commands that rshell supports, making it less then helpful.
So from the above,
cmd
seems to be the placeholder for *things* that makershell
do stuff. What are the commands supported? Who knows!This isn't even a case of "well, it's actually documented in the man pages", since those don't seem to exist. (believe me, that's another argument since some platforms remove the man pages for space reasons).
Entering the
rshell
cli (why do I need a CLI in my CLI?), apparently you can typehelp
(hmmm, maybe that's one of the commands?), and get something useful:Is there a reason that's not output when
rshell --help
is invoked? Instead ofalso, apparently
rshell help
is different thenrshell --help
. Wat.Apologies for the snark, I'm very tired at the moment.