Skip to content

Description missing error on split packages

Task Info (Flyspray)
Opened By Rafael Fontenelle (josephg)
Task ID 56995
Type Bug Report
Project Arch Linux
Category Arch Projects
Version None
OS All
Opened 2018-01-07 22:41:11 UTC
Status Assigned
Assignee Kyle Keen (keenerd)

Details

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 namcap.py[1], and the usage function is coded in the line 41, also in namcap.py[2].

[1] https://git.archlinux.org/namcap.git/tree/namcap.py?id=f73bf160de19e43d1c22a3db0f32b234b872963f#n174 [2] https://git.archlinux.org/namcap.git/tree/namcap.py?id=f73bf160de19e43d1c22a3db0f32b234b872963f#n41

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/namcap.py [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

Attachments

update-usage-options.diff

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information