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

when using --pastebin, set default wrap-width independent of terminal width #22

Closed
ryran opened this Issue Nov 3, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@ryran
Owner

ryran commented Nov 3, 2016

No description provided.

@ryran ryran added the enhancement label Nov 3, 2016

@ryran ryran self-assigned this Nov 3, 2016

ryran added a commit that referenced this issue Nov 3, 2016

@ryran

This comment has been minimized.

Show comment
Hide comment
@ryran

ryran Nov 3, 2016

Owner

Defaults to 168 now when using pastebin.

$ rhsecapi --help | grep -A5 -- --wrap 
  -w, --wrap [WIDTH]    Change wrap-width of long fields (acknowledgement,
                        details, statement, mitigation) in non-json output
                        (default: wrapping WIDTH equivalent to TERMWIDTH-2
                        unless using '--pastebin' where default WIDTH is
                        '168'; specify '0' to disable wrapping; WIDTH defaults
                        to '70' if option is used but WIDTH is omitted)
Owner

ryran commented Nov 3, 2016

Defaults to 168 now when using pastebin.

$ rhsecapi --help | grep -A5 -- --wrap 
  -w, --wrap [WIDTH]    Change wrap-width of long fields (acknowledgement,
                        details, statement, mitigation) in non-json output
                        (default: wrapping WIDTH equivalent to TERMWIDTH-2
                        unless using '--pastebin' where default WIDTH is
                        '168'; specify '0' to disable wrapping; WIDTH defaults
                        to '70' if option is used but WIDTH is omitted)

@ryran ryran closed this Nov 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment