~pwlars/lava-test/bug640251

« back to all changes in this revision

Viewing changes to bin/abrek

  • Committer: Paul Larson
  • Date: 2010-09-15 20:32:29 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: paul.larson@canonical.com-20100915203229-ewa32wsg0n4ajv3m
Give a more useful error when calling a subcommand that doesn't exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import abrek.main
28
28
 
29
29
if __name__ == '__main__':
30
 
    exit_code = abrek.main.main()
 
30
    exit_code = abrek.main.main(sys.argv)
31
31
    sys.exit(exit_code)