A patch that adds a '-d', '--description' option to attach for adding the description from the commandline.
Created attachment 130066 [details] ../pybugz-0.7.0-attach-description.patch pybugz-0.7.0-attach-description.patch
Patch applied in SVN, r22. Thanks!
If I run: bugz attach -h I get the following: usage: bugz attach <bugid> <filename> [-c=<mimetype>] Attach a file to a bug given a filename. options: -d DESCRIPTION, --description=DESCRIPTION A description of the attachment. -c CONTENT_TYPE, --content_type=CONTENT_TYPE Mimetype of the file (default: text/plain) -h, --help show this help message and exit Can you please update the patch to give something like: usage: bugz attach <bugid> <filename> [-c=<mimetype>] [-d=description] Attach a file to a bug given a filename. options: -c CONTENT_TYPE, --content_type=CONTENT_TYPE Mimetype of the file (default: text/plain) -d DESCRIPTION, --description=DESCRIPTION A description of the attachment. -h, --help show this help message and exit Thamks much. William
I have fixed the attach action so that pybugz attach -h now shows the -d option in the usage. This is in svn.