"man <command>" and "<command> --help" should do what "help <command>" does
Project: | JNode Shell |
Component: | User interface |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | closed |
Jump to:
Description
Reproduction:
1. man route
2. route --help
3. help route
Actual result:
Steps 1 and 2 don't work.
Step 3 works.
Expected result:
Steps 1 and 2 work, as they are standard Unix (POSIX, I think) commands.
Importance:
It's important that they work, because the point of them are exactly users who don't know the system well.
I did not know about "help route" until lsantha told me about it, before thinking that there simply was no built-in help.
- Login to post comments
#1
Implementing 'man ' as an alternative for 'help ' is a reasonable suggestion.
Implementing ' --help' as a way to get syntax-based help is (IMO) a bad idea, since it interferes with an application's use of '--help' to mean something different. Besides, the '--help' option is not part of the POSIX standard; it is just a GNU utility convention.
#2
Could 'man' be an other alias for the help command?
#3
Yes, that's what I meant. I'll implement it.
#4
Implemented 'man' as an alias for 'help'. The command syntax(es) are the same, modulo the command name.
#5
Automatically closed -- issue fixed for two weeks with no activity.