Public bug reported:

There is a typo in the output of
  lxc-create --help

specifically the --lxcpath line has 2 issues:
  1 It should start "-P, --lxcpath"
  2 It says "patch" instead of "path"

$ lxc-create --help
usage: lxc-create -n NAME [-f CONFIG_FILE] [-t TEMPLATE] [FS_OPTIONS] --
         [-P lxcpath] [TEMPLATE_OPTIONS]

where FS_OPTIONS is one of:
  -B none
  -B dir [--dir rootfs_dir]
  -B lvm [--lvname LV_NAME] [--vgname VG_NAME] [--fstype FS_TYPE]
    [--fssize FS_SIZE]
  -B btrfs

Create a new container on the system.

Options:
  -n NAME            specify the name of the container
  -f CONFIG_FILE     use an existing configuration file
  -t TEMPLATE        use an accessible template script
  -B BACKING_STORE   alter the container backing store (default: none)
  --lxcpath path     specify an alternate container patch (default: 
/var/lib/lxc)
  --lvname LV_NAME   specify the LVM logical volume name
                      (default: container name)
  --dir ROOTFS_DIR   specify path for custom rootfs directory location
  --vgname VG_NAME   specify the LVM volume group name (default: lxc)
  --fstype FS_TYPE   specify the filesystem type (default: ext4)
  --fssize FS_SIZE   specify the filesystem size (default: 500M)

To see template-specific options, specify a template. For example:
  lxc-create -t ubuntu -h


I have looked at the package source, and I can see that lxc-create.in
needs the changes, but I don't know how to go about making them. I am
very keen to help if I can.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0-0ubuntu3.4
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Aug 28 08:05:58 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-04-27 (487 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: Upgraded to raring on 2013-04-26 (123 days ago)
lxcsyslog:

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1217730

Title:
  lxc-create help text error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1217730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to