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

Help output truncated in some cases (usually attributes) #32

Open
scaleoutsean opened this issue Nov 30, 2018 · 1 comment
Open

Help output truncated in some cases (usually attributes) #32

scaleoutsean opened this issue Nov 30, 2018 · 1 comment

Comments

@scaleoutsean
Copy link
Contributor

Where there's more output it seems some of it gets truncated. It seems most commands that have attributes have this issue.

# sfcli -c 0 account add --help
Usage: sfcli account add [OPTIONS]

  You can use AddAccount to add a new account to the system. You can create
  new volumes under the new account. The CHAP settings you specify for the
  account apply to all volumes owned by the account.

Options:
  --username TEXT         Specifies the username for this account. (Might be 1
                          to 64 characters in length).   [required]
  --initiatorsecret TEXT  The CHAP secret to use for the initiator. This
                          secret must be 12-16 characters in length and should
                          be impenetrable. The initiator CHAP secret must be
                          unique and cannot be the same as the target CHAP
                          secret. If unspecified, a random secret is created.
  --targetsecret TEXT     The CHAP secret to use for the target (mutual CHAP
                          authentication). This secret must be 12-16
                          characters in length and should be impenetrable. The
                          target CHAP secret must be unique and cannot be the
                          same as the initiator CHAP secret. If unspecified, a
                          random secret is created.
  --attributes TEXT       List of name-value pairs in JSON object format.  Has
                          the following subparameters:             <==== HERE
  --help                  Show this message and exit.

@scaleoutsean
Copy link
Contributor Author

Another example

Usage: sfcli backuptarget create [OPTIONS]

  CreateBackupTarget enables you to create and store backup target
  information so that you do not need to re-enter it each time a backup is
  created.

Options:
  --name TEXT        The name of the backup target.   [required]
  --attributes TEXT  List of name-value pairs in JSON object format.  Has the
                     following subparameters:   [required]  <========= HERE
  --help             Show this message and exit.

I checked the SDK docs and this info seems to be missing.
https://solidfire-sdk-python.readthedocs.io/en/latest/_modules/solidfire.html#Element.create_backup_target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant