Also the dumb trend of doing
command help subcommand
instead of command subcommand --help
it's annoying to have to back to the middle of the command just to add help there and get the manualIf you install via apt like normal, there's the man pages. Snap is canonical competitor with docker, ... Kinda
There should be a way to call snap in a way that gives you manual and it should be available via the usual cmdline tools
man git command
and that was eventually added "a b" -> "a-b" translation.While I agree with the larger point of your comment, I work around this particular inconvenience of going back to the middle of the command by using the GNU Readline (or Zsh Line Editor in Zsh) key bindings. The key sequence to go back by one word and enter the new "help" argument is:
command subcommand <Alt + b> help <Space>
In the Emacs/GNU Readline notation the additional key sequence can be expressed as: M-b help SPC
That's 7 extra key presses which is exactly the same number of key presses it would take to type and append " --help" at the end of an existing command.Now imagine you're 2 subcommands deep, smartass
Yes I know how readline works
The M-b keybinding is merely a workaround, not a fix. I believe the snarky remark was unwarranted. I didn't mean to doubt your knowledge of readline. Like I said, I do agree with the larger point you made in your comment. I too find the non-standard help trends inconvenient. My comment was meant for sharing a workaround that helps me to alleviate some of the inconvenience caused by these problematic trends.