ostree: Describe subcommands in help output
authorRuixin Bao <peter.bao@mail.utoronto.ca>
Fri, 13 Oct 2017 16:15:13 +0000 (16:15 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 20 Oct 2017 12:59:32 +0000 (12:59 +0000)
commit3c360a720ff1a8bf695365a79b3ac7975ffd25e8
treef62cf412aebb3719e0760ba696e8a224e4bfe986
parent2531d8fe631b8484b5731f3635314ac3eb82eed5
ostree: Describe subcommands in help output

Added a description argument to all type
of commands. Now when we include -h or --help
for commands that contain subcommands, the description
for those subcommands are shown.

The added subcommands help will be provided to the following commands:
- ostree -h
- ostree admin -h
- ostree admin instutil -h
- ostree remote -h
- ostree static-delta -h

Closes: #1267
Approved by: cgwalters
src/ostree/main.c
src/ostree/ot-admin-builtin-instutil.c
src/ostree/ot-builtin-admin.c
src/ostree/ot-builtin-remote.c
src/ostree/ot-builtin-static-delta.c
src/ostree/ot-main.c
src/ostree/ot-main.h
src/ostree/ot-remote-builtin-delete-cookie.c
tests/test-help.sh