docs(clap): update STRUCT_FLAG and UPLOAD flags

* adjust documentation to resemble actual upload flag semantics. It was
  still using the one previously used in docopt.
* Make -m <mime-type> optional, defaulting to 'application/octet-stream'

Should have been fixed alongside of #81
This commit is contained in:
Sebastian Thiel
2015-04-30 13:34:56 +02:00
parent cc1bfd19c8
commit bd27046cc8
4 changed files with 24 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ SCOPE_FLAG = 'scope'
CONFIG_DIR_FLAG = 'config-dir'
DEBUG_FLAG = 'debug'
DEBUG_AUTH_FLAG = 'debug-auth'
DEFAULT_MIME = 'application/octet-stream'
MODE_ARG = 'mode'
FILE_ARG = 'file'