From 47cb5ae707c20a4d2f28638f98760f24d6822fac Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Fri, 20 Dec 2013 17:28:30 -0500 Subject: opkg-cl: Tidy alignment of help output This improves the help output but it still needs a lot more work. Signed-off-by: Paul Barker --- (limited to 'src') diff --git a/src/opkg-cl.c b/src/opkg-cl.c index 621e376..b711511 100644 --- a/src/opkg-cl.c +++ b/src/opkg-cl.c @@ -226,27 +226,27 @@ usage() printf("where sub-command is one of:\n"); printf("\nPackage Manipulation:\n"); - printf("\tupdate Update list of available packages\n"); - printf("\tupgrade Upgrade installed packages\n"); - printf("\tinstall Install package(s)\n"); - printf("\tconfigure Configure unpacked package(s)\n"); - printf("\tremove Remove package(s)\n"); - printf("\tflag Flag package(s)\n"); + printf("\tupdate Update list of available packages\n"); + printf("\tupgrade Upgrade installed packages\n"); + printf("\tinstall Install package(s)\n"); + printf("\tconfigure Configure unpacked package(s)\n"); + printf("\tremove Remove package(s)\n"); + printf("\tflag Flag package(s)\n"); printf("\t =hold|noprune|user|ok|installed|unpacked (one per invocation)\n"); printf("\nInformational Commands:\n"); - printf("\tlist List available packages\n"); - printf("\tlist-installed List installed packages\n"); - printf("\tlist-upgradable List installed and upgradable packages\n"); - printf("\tlist-changed-conffiles List user modified configuration files\n"); - printf("\tfiles List files belonging to \n"); - printf("\tsearch List package providing \n"); - printf("\tinfo [pkg|glob] Display all info for \n"); - printf("\tstatus [pkg|glob] Display all status for \n"); - printf("\tdownload Download to current directory\n"); + printf("\tlist List available packages\n"); + printf("\tlist-installed List installed packages\n"); + printf("\tlist-upgradable List installed and upgradable packages\n"); + printf("\tlist-changed-conffiles List user modified configuration files\n"); + printf("\tfiles List files belonging to \n"); + printf("\tsearch List package providing \n"); + printf("\tinfo [pkg|glob] Display all info for \n"); + printf("\tstatus [pkg|glob] Display all status for \n"); + printf("\tdownload Download to current directory\n"); printf("\tcompare-versions \n"); - printf("\t compare versions using <= < > >= = << >>\n"); - printf("\tprint-architecture List installable package architectures\n"); + printf("\t compare versions using <= < > >= = << >>\n"); + printf("\tprint-architecture List installable package architectures\n"); printf("\tdepends [-A] [pkgname|glob]+\n"); printf("\twhatdepends [-A] [pkgname|glob]+\n"); printf("\twhatdependsrec [-A] [pkgname|glob]+\n"); @@ -257,48 +257,48 @@ usage() printf("\twhatreplaces [-A] [pkgname|glob]+\n"); printf("\nOptions:\n"); - printf("\t-A Query all packages not just those installed\n"); - printf("\t-V[] Set verbosity level to .\n"); - printf("\t--verbosity[=] Verbosity levels:\n"); - printf("\t 0 errors only\n"); - printf("\t 1 normal messages (default)\n"); - printf("\t 2 informative messages\n"); - printf("\t 3 debug\n"); - printf("\t 4 debug level 2\n"); - printf("\t-f Use as the opkg configuration file\n"); + printf("\t-A Query all packages not just those installed\n"); + printf("\t-V[] Set verbosity level to .\n"); + printf("\t--verbosity[=] Verbosity levels:\n"); + printf("\t 0 errors only\n"); + printf("\t 1 normal messages (default)\n"); + printf("\t 2 informative messages\n"); + printf("\t 3 debug\n"); + printf("\t 4 debug level 2\n"); + printf("\t-f Use as the opkg configuration file\n"); printf("\t--conf \n"); - printf("\t--cache Use a package cache\n"); - printf("\t-d Use as the the root directory for\n"); - printf("\t--dest package installation, removal, upgrading.\n"); - printf(" should be a defined dest name from\n"); - printf(" the configuration file, (but can also be a\n"); - printf(" directory name in a pinch).\n"); - printf("\t-o Use as the root directory for\n"); - printf("\t--offline-root offline installation of packages.\n"); - printf("\t--add-arch : Register architecture with given priority\n"); - printf("\t--add-dest : Register destination with given path\n"); - printf("\t--prefer-arch-to-version\t Use the architecture priority package rather\n"); - printf("\t than the higher version one if more\n"); - printf("\t than one candidate is found.\n"); + printf("\t--cache Use a package cache\n"); + printf("\t-d Use as the the root directory for\n"); + printf("\t--dest package installation, removal, upgrading.\n"); + printf("\t should be a defined dest name from\n"); + printf("\t the configuration file, (but can also be a\n"); + printf("\t directory name in a pinch).\n"); + printf("\t-o Use as the root directory for\n"); + printf("\t--offline-root offline installation of packages.\n"); + printf("\t--add-arch : Register architecture with given priority\n"); + printf("\t--add-dest : Register destination with given path\n"); + printf("\t--prefer-arch-to-version Use the architecture priority package rather\n"); + printf("\t than the higher version one if more\n"); + printf("\t than one candidate is found.\n"); printf("\nForce Options:\n"); - printf("\t--force-depends Install/remove despite failed dependencies\n"); - printf("\t--force-maintainer Overwrite preexisting config files\n"); - printf("\t--force-reinstall Reinstall package(s)\n"); - printf("\t--force-overwrite Overwrite files from other package(s)\n"); - printf("\t--force-downgrade Allow opkg to downgrade packages\n"); - printf("\t--force-space Disable free space checks\n"); - printf("\t--force-postinstall Run postinstall scripts even in offline mode\n"); - printf("\t--force-remove Remove package even if prerm script fails\n"); - printf("\t--noaction No action -- test only\n"); - printf("\t--download-only No action -- download only\n"); - printf("\t--nodeps Do not follow dependencies\n"); + printf("\t--force-depends Install/remove despite failed dependencies\n"); + printf("\t--force-maintainer Overwrite preexisting config files\n"); + printf("\t--force-reinstall Reinstall package(s)\n"); + printf("\t--force-overwrite Overwrite files from other package(s)\n"); + printf("\t--force-downgrade Allow opkg to downgrade packages\n"); + printf("\t--force-space Disable free space checks\n"); + printf("\t--force-postinstall Run postinstall scripts even in offline mode\n"); + printf("\t--force-remove Remove package even if prerm script fails\n"); + printf("\t--noaction No action -- test only\n"); + printf("\t--download-only No action -- download only\n"); + printf("\t--nodeps Do not follow dependencies\n"); printf("\t--force-removal-of-dependent-packages\n"); - printf("\t Remove package and all dependencies\n"); - printf("\t--autoremove Remove packages that were installed\n"); - printf("\t automatically to satisfy dependencies\n"); - printf("\t-t Specify tmp-dir.\n"); - printf("\t--tmp-dir Specify tmp-dir.\n"); + printf("\t Remove package and all dependencies\n"); + printf("\t--autoremove Remove packages that were installed\n"); + printf("\t automatically to satisfy dependencies\n"); + printf("\t-t Specify tmp-dir.\n"); + printf("\t--tmp-dir Specify tmp-dir.\n"); printf("\n"); -- cgit v0.9.1