X Tutup
The Wayback Machine - https://web.archive.org/web/20201020072113/https://github.com/google/python-fire/issues/288
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

how to hide SELF parameter from the help message? #288

Open
matteoredaelli opened this issue Sep 27, 2020 · 2 comments
Open

how to hide SELF parameter from the help message? #288

matteoredaelli opened this issue Sep 27, 2020 · 2 comments

Comments

@matteoredaelli
Copy link

@matteoredaelli matteoredaelli commented Sep 27, 2020

I use fire as suggested by "Version 4: fire.Fire()"

When I run "mycmd search --help" I get a nice help text but I'd like to remove the not useful/internal parameter SELF
If it my fault or a bug?

Thanks in advance

NAME
    mycmd search - Search objects  

SYNOPSIS
    mycmd search SELF <flags>

DESCRIPTION
    filter: is a  query string like (samaccountname=matteo)

POSITIONAL ARGUMENTS
    SELF

FLAGS
    --filter=FILTER
@bradleydamato
Copy link
Contributor

@bradleydamato bradleydamato commented Oct 5, 2020

@matteoredaelli would you be able to post a snippet or link the file that lead to this output?

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
X Tutup