diff options
author | Kim B. Heino <Kim.Heino@bluegiga.com> | 2010-03-29 14:18:27 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-29 14:18:27 +0200 |
commit | 3d43aed10c94bfcfc4a85b9b66bc60c18d22c2b1 (patch) | |
tree | fbd69052583642b77e9436ec6fc11a1461042afb /include/usage.h | |
parent | 1d448cff653a9a68f6320d01c9f0505385aa38bd (diff) | |
download | busybox-w32-3d43aed10c94bfcfc4a85b9b66bc60c18d22c2b1.tar.gz busybox-w32-3d43aed10c94bfcfc4a85b9b66bc60c18d22c2b1.tar.bz2 busybox-w32-3d43aed10c94bfcfc4a85b9b66bc60c18d22c2b1.zip |
dpkg: support config file overwrite options
function old new delta
filter_rename_config - 244 +244
static.dpkg_longopts - 112 +112
dpkg_main 3901 3980 +79
unpack_package 515 587 +72
append_control_file_to_llist - 72 +72
data_extract_all_prefix 88 116 +28
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 3/0 up/down: 607/0) Total: 607 bytes
Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 8b026b43a..cf576c666 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -931,13 +931,28 @@ | |||
931 | #define dpkg_full_usage "\n\n" \ | 931 | #define dpkg_full_usage "\n\n" \ |
932 | "Install, remove and manage Debian packages\n" \ | 932 | "Install, remove and manage Debian packages\n" \ |
933 | "\nOptions:" \ | 933 | "\nOptions:" \ |
934 | IF_LONG_OPTS( \ | ||
935 | "\n -i,--install Install the package" \ | ||
936 | "\n -l,--list List of installed packages" \ | ||
937 | "\n --configure Configure an unpackaged package" \ | ||
938 | "\n -P,--purge Purge all files of a package" \ | ||
939 | "\n -r,--remove Remove all but the configuration files for a package" \ | ||
940 | "\n --unpack Unpack a package, but don't configure it" \ | ||
941 | "\n --force-depends Ignore dependency problems" \ | ||
942 | "\n --force-confnew Overwrite existing config files when installing" \ | ||
943 | "\n --force-confold Keep old config files when installing" \ | ||
944 | ) \ | ||
945 | IF_NOT_LONG_OPTS( \ | ||
934 | "\n -i Install the package" \ | 946 | "\n -i Install the package" \ |
935 | "\n -l List of installed packages" \ | 947 | "\n -l List of installed packages" \ |
936 | "\n -C Configure an unpackaged package" \ | 948 | "\n -C Configure an unpackaged package" \ |
937 | "\n -F depends Ignore dependency problems" \ | ||
938 | "\n -P Purge all files of a package" \ | 949 | "\n -P Purge all files of a package" \ |
939 | "\n -r Remove all but the configuration files for a package" \ | 950 | "\n -r Remove all but the configuration files for a package" \ |
940 | "\n -u Unpack a package, but don't configure it" \ | 951 | "\n -u Unpack a package, but don't configure it" \ |
952 | "\n -F depends Ignore dependency problems" \ | ||
953 | "\n -F confnew Overwrite existing config files when installing" \ | ||
954 | "\n -F confold Keep old config files when installing" \ | ||
955 | ) | ||
941 | 956 | ||
942 | #define dpkg_deb_trivial_usage \ | 957 | #define dpkg_deb_trivial_usage \ |
943 | "[-cefxX] FILE [argument]" | 958 | "[-cefxX] FILE [argument]" |