~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_help.py

  • Committer: Martin Pool
  • Date: 2006-03-22 17:48:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1626.
  • Revision ID: mbp@sourcefrog.net-20060322174849-c91b958b284cfde3
Fix 'bzr -h' to show help (#35940)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 by Canonical Ltd
2
 
# -*- coding: utf-8 -*-
 
1
# Copyright (C) 2005, 2006 by Canonical Ltd
3
2
 
4
3
# This program is free software; you can redistribute it and/or modify
5
4
# it under the terms of the GNU General Public License as published by
29
28
        dash_help = self.runbzr('--help')[0]
30
29
        just_help = self.runbzr('help')[0]
31
30
        quest_mk  = self.runbzr('?')[0]
 
31
        # see https://launchpad.net/products/bzr/+bug/35940, -h doesn't work
 
32
        dash_h = self.runbzr('-h')[0]
 
33
        self.assertEquals(dash_help, dash_h)
32
34
        self.assertEquals(dash_help, just_help)
33
35
        self.assertEquals(dash_help, quest_mk)
34
36