Skip to content

only print usage when running without arguments #66

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

Closed
rmminusrslash opened this issue Apr 18, 2017 · 4 comments
Closed

only print usage when running without arguments #66

rmminusrslash opened this issue Apr 18, 2017 · 4 comments

Comments

@rmminusrslash
Copy link

My colleagues keep thinking there is a stacktrace or unexpected behavior when they read output like:

Type: function String form: <function foo at 0x7fe9d8e47b90> File: path/to/file Line: 149

I propose to only print the usage string. I can make a pull request if you like the idea.

@dbieber
Copy link
Collaborator

dbieber commented Apr 19, 2017

I put some thoughts about this here.

Essentially I agree that this information clutters the CLI and should not be displayed by default, but I think we should retain the ability to see this information. One way to do this would be to only show this information if the --verbose flag is present. What do you think of this?

@monkut
Copy link

monkut commented May 23, 2017

same thoughts here. This looks like information that should be displayed when user specifies the --verbose explicitly.

@dbieber
Copy link
Collaborator

dbieber commented May 24, 2017

We're putting together this change now, tracking it at #77.
The core of the change is that we'll showing only docstring + usage information by default, and the remaining information (Type, File, Line, etc) will only be shown in verbose mode.

Closing this ticket so we just track the issue in one place.

@dbieber dbieber closed this as completed May 24, 2017
@trianta2
Copy link

This discussion is relatively old -- is there now a way to suppress the fire trace and only show usage?

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

4 participants