~hazmat/pyjuju/rapi-login

« back to all changes in this revision

Viewing changes to juju/control/__init__.py

  • Committer: Kapil Thangavelu
  • Date: 2012-10-20 19:23:22 UTC
  • mfrom: (605.1.11 rapi-delta)
  • Revision ID: kapil@canonical.com-20121020192322-z34z59siiyz7lhcz
Merged svc-change-units into export-import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from .command import Commander
7
7
from .utils import ParseError
8
8
from juju.environment.config import EnvironmentsConfig
 
9
from juju import __version__
9
10
 
10
11
import add_relation
11
12
import add_unit
106
107
        help="Enable verbose logging")
107
108
 
108
109
    parser.add_argument(
 
110
        "--version", action="version", version='juju %s' % (__version__))
 
111
 
 
112
    parser.add_argument(
109
113
        "--log-file", "-l", default=sys.stderr, type=argparse.FileType('a'),
110
114
        help="Log output to file")
111
115