Merge lp:~townsend/libertine/fix-no-command into lp:libertine

Proposed by Christopher Townsend
Status: Merged
Approved by: Christopher Townsend
Approved revision: 203
Merged at revision: 203
Proposed branch: lp:~townsend/libertine/fix-no-command
Merge into: lp:libertine
Diff against target: 12 lines (+4/-1)
1 file modified
tools/libertine-container-manager (+4/-1)
To merge this branch: bzr merge lp:~townsend/libertine/fix-no-command
Reviewer Review Type Date Requested Status
Libertine CI Bot continuous-integration Approve
Stephen M. Webb (community) Approve
Review via email: mp+291922@code.launchpad.net

Commit message

Check to make sure a subcommand was given and if not, print out the usage.

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) :
review: Approve
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tools/libertine-container-manager'
2--- tools/libertine-container-manager 2016-04-13 18:02:56 +0000
3+++ tools/libertine-container-manager 2016-04-14 17:12:00 +0000
4@@ -688,4 +688,7 @@
5 if args.verbosity is None:
6 args.verbosity = 1
7
8- args.func(args)
9+ if args.subparser_name == None:
10+ parser.print_help()
11+ else:
12+ args.func(args)

Subscribers

People subscribed via source and target branches