Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elaborate help menus in syndicate admin tool #14

Open
iychoi opened this issue Nov 17, 2016 · 0 comments
Open

Elaborate help menus in syndicate admin tool #14

iychoi opened this issue Nov 17, 2016 · 0 comments

Comments

@iychoi
Copy link
Member

iychoi commented Nov 17, 2016

Syndicate admin tool does not show available MS commands. Also it returns None for invalid commands without complaining.

syndicate@demo1:~$ syndicate xxx
Help for 'xxx':
None
syndicate@demo1:~$ syndicate
Help for 'None':
None
syndicate@demo1:~$ syndicate -h
usage: /usr/bin/syndicate [-h] [--username username]
                          [--gateway_keys gateway_keys] [--no_reload]
                          [--debug] [--ipc_dir ipc_dir]
                          [--syndicate_keys syndicate_keys]
                          [--certs_dir certs_dir] [--trust_public_key]
                          [--volume_keys volume_keys] [--MS_url MS_url]
                          [--user_keys user_keys] [--config config]
                          [params [params ...]]

Syndicate Administration Tool

positional arguments:
  params                Method name, followed by parameters (positional and
                        keyword supported).

optional arguments:
  -h, --help            show this help message and exit
  --username username, -u username
                        The ID of the Syndicate user to run as.
  --gateway_keys gateway_keys, -G gateway_keys
                        Path to the directory holding the Gateway private
                        keys.
  --no_reload, -n       If set, do not send or broadcast reload requests to
                        gateways on volume or gateway update.
  --debug, -d           Verbose debugging output
  --ipc_dir ipc_dir, -i ipc_dir
                        Path to the directory to store IPC objects for
                        gateways.
  --syndicate_keys syndicate_keys, -S syndicate_keys
                        Path to the directory holding the Syndicate public
                        keys.
  --certs_dir certs_dir, -C certs_dir
                        Path to the directory to store remotely-fetched
                        certificates.
  --trust_public_key, -t
                        If set, automatically trust the Syndicate public key
                        if it is not yet trusted.
  --volume_keys volume_keys, -V volume_keys
                        Path to the directory holding the Volume public keys.
  --MS_url MS_url, -m MS_url
                        URL to your Syndicate MS
  --user_keys user_keys, -U user_keys
                        Path to the directory holding the User private keys.
  --config config, -c config
                        Path to your config file (default is
                        ~/.syndicate/syndicate.conf).
syndicate@demo1:~$ 
@iychoi iychoi changed the title Ellaborate help menus in syndicate admin tool Elaborate help menus in syndicate admin tool Nov 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant