diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | docs/extended-synopsis.txt | 28 | ||||
| -rwxr-xr-x | src/fapi | 2 |
3 files changed, 2 insertions, 30 deletions
@@ -29,7 +29,7 @@ documentation: pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt cp ./docs/$(NAME).pod README.pod ./bin/fapi -d -h -n > ./docs/synopsis.txt - ./bin/fapi -d -h -n -E > ./docs/extended-synopsis.txt + ./bin/fapi -d -n -E > ./docs/extended-synopsis.txt || exit 0 # Build a debian package deb: all dpkg-buildpackage # -us -uc diff --git a/docs/extended-synopsis.txt b/docs/extended-synopsis.txt index eb1e87d..96180f2 100644 --- a/docs/extended-synopsis.txt +++ b/docs/extended-synopsis.txt @@ -1,31 +1,3 @@ -usage: fapi [-a] [-b B] [-d] [-E] [-e E] [-f F] [-h] [-i] [-l] [-n] [-v] [-V] - [-C C] - [what] [name] [sub] [sub2] [sub3] [sub4] [sub5] - -positional arguments: - what node|pool|monitor|vserver|... - name The object name to operate on - sub First sub command - sub2 Second sub command - sub3 Third sub command - sub4 Fourth sub command - sub5 Fith sub command - -optional arguments: - -a Disables auto port in vserver name - -b B Forces to use the secified loadbalancer (overwrites -e) - -d Disable colorful output - -E Show extended synopsis - -e E Env to use, e.g. dev,qa,live - -f F Overwrite partition/folder from fapi.conf - -h Print this help - -i Interactive shell - -l Use list output - -n No-op (don't do actual stuff) - -v Verbose - -V Print program version - -C C Config file - Extended synopsis. The following partially needs admininstrator privileges on / and /Common: @@ -156,7 +156,7 @@ class ArgumentParser(FapiBase): help='Forces to use the secified loadbalancer (overwrites -e)') parser.add_argument('-d', action='store_true', help='Disable colorful output') parser.add_argument('-E', action='store_true', help='Show extended synopsis') - parser.add_argument('-e', action='store', help='Env to use, e.g. dev,qa,live', + parser.add_argument('-e', action='store', help='Environment to use, e.g. dev,qa,live', default='qa') parser.add_argument('-f', action='store', help='Overwrite partition/folder from fapi.conf') parser.add_argument('-h', action='store_true', help='Print this help') |
