bbkane/warg

command subcommand -h outline shows subcommand flags on top level

Closed this issue · 0 comments

See fling:

master 15:27:24.499 PDT mac02:~/Git/tablegraph
$ fling version
0.0.12
master 15:27:35.830 PDT mac02:~/Git/tablegraph
$ fling link -h outline
# Link and unlink directory heirarchies
fling
  # Whether to ask before making changes
  --ask
  # Control color (including for --help)
  --color , -c
  # Files/dirs starting with 'dot-' will have links starting with '.'
  --dotfiles
  # Print help
  --help , -h
  # Ignore file/dir if the name (not the whole path) matches passed regex
  --ignore , -i
  # Symlinks will be created in this directory pointing to files/directories in --src-dir
  --link-dir , -l
  # Directory containing files and directories to link to
  --src-dir , -s
  # Create links
  link
    # Whether to ask before making changes
    --ask
    # Files/dirs starting with 'dot-' will have links starting with '.'
    --dotfiles
    # Ignore file/dir if the name (not the whole path) matches passed regex
    --ignore , -i
    # Symlinks will be created in this directory pointing to files/directories in --src-dir
    --link-dir , -l
    # Directory containing files and directories to link to
    --src-dir , -s
  # Unlink previously created links
  unlink
    # Whether to ask before making changes
    --ask
    # Files/dirs starting with 'dot-' will have links starting with '.'
    --dotfiles
    # Ignore file/dir if the name (not the whole path) matches passed regex
    --ignore , -i
    # Symlinks will be created in this directory pointing to files/directories in --src-dir
    --link-dir , -l
    # Directory containing files and directories to link to
    --src-dir , -s
  # Print version
  version