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

Removing --trace from the help file #16

Closed
KieranP opened this issue Jan 2, 2010 · 6 comments
Closed

Removing --trace from the help file #16

KieranP opened this issue Jan 2, 2010 · 6 comments

Comments

@KieranP
Copy link

KieranP commented Jan 2, 2010

--trace is great, but I don't want that option in the help file.

I still want it usable, but disabling the display of it should be configurable.

@KieranP
Copy link
Author

KieranP commented Feb 23, 2010

Any progress on this? I made a patch in my fork, but you wanted to make a cleaner way to do it. The app I've written will be going live soon, so this would be something nice to have.

@matschaffer
Copy link

Where's your fork? I've been bumping into my own global option related issues (namely not being able to use -t).

@KieranP
Copy link
Author

KieranP commented Jul 27, 2010

I removed my fork a while back. The developer of this project no longer maintains it, and the project I was using it for got scrapped.

@KieranP
Copy link
Author

KieranP commented Jul 27, 2010

I still have the project I embedded it into though:

http://github.com/KieranP/homebrew/blob/rewrite/Library/Homebrew/support/commander/commander/runner.rb

Look for references to @hide_trace_help

@matschaffer
Copy link

Thanks! Did you find any better libs for this sort of thing? Thor looked promising till I looked at the generated help page.

ggilder pushed a commit to ggilder/commander that referenced this issue Feb 11, 2014
Squashed:

    Add helper commands to delegates and some basic tests
    Don't show --trace text in error messages when it's disabled. Also updated naming as tracing isn't just hidden from the menu it's actually completely disabled
    Adding ability to hide --trace, -t from the menu and globally enable tracing via tj#16 (comment). Usage: Commander::Runner.instance.hide_trace_help

Don't show --trace text in error messages when it's disabled. Also updated naming as tracing isn't just hidden from the menu it's actually completely disabled

Squashed commit of the following:

commit 6120fe2
Author: James White <dev.jameswhite@gmail.com>
Date:   Mon Feb 10 17:03:55 2014 +0000

    Update README.md
ggilder pushed a commit to ggilder/commander that referenced this issue Feb 11, 2014
Squashed:

    Add helper commands to delegates and some basic tests
    Don't show --trace text in error messages when it's disabled. Also updated naming as tracing isn't just hidden from the menu it's actually completely disabled
    Adding ability to hide --trace, -t from the menu and globally enable tracing via tj#16 (comment). Usage: Commander::Runner.instance.hide_trace_help

Don't show --trace text in error messages when it's disabled. Also updated naming as tracing isn't just hidden from the menu it's actually completely disabled

Squashed commit of the following:

commit 6120fe2
Author: James White <dev.jameswhite@gmail.com>
Date:   Mon Feb 10 17:03:55 2014 +0000

    Update README.md
ggilder pushed a commit to ggilder/commander that referenced this issue Feb 11, 2014
Adding ability to hide --trace, -t from the menu and globally enable
tracing via
tj#16 (comment)

Don't show --trace text in error messages when it's disabled.
@ggilder
Copy link
Collaborator

ggilder commented Feb 11, 2014

Fixed in #67

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

3 participants