Message162745
| Author |
wrobell |
| Recipients |
r.david.murray, wrobell |
| Date |
2012年06月14日.01:04:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339635886.97.0.749419871691.issue15062@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
an example would be a pdf merger accepting multiple files and allowing to specify list of pages for each input.
at the moment, you can do the following with argparse
pdfmerge [pages] input [[pages] input ...] output
of course, above is not perfect as you need a bit of heuristic to determine what is "pages" and what is the "input" itself (easy to
do, but still...).
on other side, i find the following more straightforward
pdfmerge [-p pages] input [[-p pages] input ...] output
or to complicate things
pdfmerge [-p pages] [-s scale] input [[-p pages] [-s scale] input ...] output
btw. i understand the argparse limitations, therefore putting this as feature enhancement... if possible :) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月14日 01:04:47 | wrobell | set | recipients:
+ wrobell, r.david.murray |
| 2012年06月14日 01:04:46 | wrobell | set | messageid: <1339635886.97.0.749419871691.issue15062@psf.upfronthosting.co.za> |
| 2012年06月14日 01:04:46 | wrobell | link | issue15062 messages |
| 2012年06月14日 01:04:45 | wrobell | create |
|