Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#56995 - {namcap} Update long options in usage()

Attached to Project: Arch Linux
Opened by Rafael Fontenelle (josephg) - Sunday, 07 January 2018, 22:41 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 18 February 2018, 04:37 GMT
Task Type Bug Report
Category Arch Projects
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Description: Some of the long options recognized by Namcap are not listed as valid in the usage function. The missing long options are: --info, --machine-readable, --tags and --version. Currently valid options in the Git source code repository are coded in the line 174 of[1], and the usage function is coded in the line 41, also in[2].


Additional info:
* package version(s)
namcap 3.2.7-1
* config and/or log files etc.

Steps to reproduce:
- run `namcap' to get the following (incomplete) output:

$ namcap

Usage: /usr/lib/python3.6/site-packages/ [OPTIONS] packages

Options are:
-L, --list : list available rules
-i : prints information (debug) responses from rules
-m : makes the output parseable (machine-readable)
-e rulelist, --exclude=rulelist : don't apply RULELIST rules to the package
-r rulelist, --rules=rulelist : only apply RULELIST rules to the package
-t tags : use a custom tag file
-v version : print version and exit
This task depends upon

Comment by Eli Schwartz (eschwartz) - Sunday, 07 January 2018, 22:57 GMT
  • Field changed: Summary ([namcap] Update long options in usage() → {namcap} Update long options in usage())
  • Field changed: Category (Packages: Extra → Arch Projects)
Consider also posting patches to the mailing list where namcap development happens:
Comment by Rafael Fontenelle (josephg) - Monday, 08 January 2018, 21:24 GMT
Well, tried without success, as I'll getting "504 Gateway time-out" when finishing the subscription.