~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-25 00:14:11 UTC
  • mfrom: (4822.1.1 bug-84659)
  • Revision ID: pqm@pqm.ubuntu.com-20091125001411-8on8cok7aonp4phz
(robertc) Be more clear in the help for bzr serve about the
        --allow-writes option. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4757
4757
    takes_options = [
4758
4758
        Option('inet',
4759
4759
               help='Serve on stdin/out for use from inetd or sshd.'),
4760
 
        RegistryOption('protocol', 
4761
 
               help="Protocol to serve.", 
 
4760
        RegistryOption('protocol',
 
4761
               help="Protocol to serve.",
4762
4762
               lazy_registry=('bzrlib.transport', 'transport_server_registry'),
4763
4763
               value_switches=True),
4764
4764
        Option('port',
4773
4773
        Option('allow-writes',
4774
4774
               help='By default the server is a readonly server.  Supplying '
4775
4775
                    '--allow-writes enables write access to the contents of '
4776
 
                    'the served directory and below.'
 
4776
                    'the served directory and below.  Note that ``bzr serve`` '
 
4777
                    'does not perform authentication, so unless some form of '
 
4778
                    'external authentication is arranged supplying this '
 
4779
                    'option leads to global uncontrolled write access to your '
 
4780
                    'file system.'
4777
4781
                ),
4778
4782
        ]
4779
4783