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

neopi.py: error: no such option: -C #11

Open
jamieburchell opened this issue Oct 17, 2015 · 2 comments
Open

neopi.py: error: no such option: -C #11

jamieburchell opened this issue Oct 17, 2015 · 2 comments

Comments

@jamieburchell
Copy link

In your example code, this line produces the error above:

sudo ./neopi.py -C scan1.csv -a -A /var/www/

In README the option is shown as -C but in the actual command I think this should be -c

@arpit1997
Copy link

arpit1997 commented Oct 29, 2016

@jamieburchell This option is -c not -C . you may see this here.

   parser = OptionParser(usage="usage: %prog [options] <start directory> 
                                <OPTIONAL: filename regex>",
                         version="%prog 1.0")
   parser.add_option("-c", "--csv",
                     action="store",
                     dest="is_csv",
                     default=False,
                     help="generate CSV outfile",
                     metavar="FILECSV")

Hope it helps 😸

@jamieburchell
Copy link
Author

A year ago maybe- I had to remind myself what NeoPi was ;)

And the readme example using -C is still incorrect...

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

No branches or pull requests

2 participants