Merge lp:~jelmer/lptools/command-option into lp:lptools
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | 30 |
Merged at revision: | 30 |
Proposed branch: | lp:~jelmer/lptools/command-option |
Merge into: | lp:lptools |
Diff against target: |
56 lines (+15/-0) 2 files modified
bin/lp-shell (+10/-0) doc/lp-shell.1 (+5/-0) |
To merge this branch: | bzr merge lp:~jelmer/lptools/command-option |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
Review via email: mp+76770@code.launchpad.net |
Description of the change
Add a -c option to lp-shell.
Example:
Am I a Ubuntu developer ?
$ ./bin/lp-shell -c 'print lp.me in lp.people[
To post a comment you must log in.
> run the specified Python program
[query] I wonder if people would expect 'program' is a file containing a program. You could add an example or say eg 'code'.