From 3d43aed10c94bfcfc4a85b9b66bc60c18d22c2b1 Mon Sep 17 00:00:00 2001 From: Kim B. Heino Date: Mon, 29 Mar 2010 14:18:27 +0200 Subject: 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 Signed-off-by: Denys Vlasenko --- include/usage.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 8b026b4..cf576c6 100644 --- a/include/usage.h +++ b/include/usage.h @@ -931,13 +931,28 @@ #define dpkg_full_usage "\n\n" \ "Install, remove and manage Debian packages\n" \ "\nOptions:" \ + IF_LONG_OPTS( \ + "\n -i,--install Install the package" \ + "\n -l,--list List of installed packages" \ + "\n --configure Configure an unpackaged package" \ + "\n -P,--purge Purge all files of a package" \ + "\n -r,--remove Remove all but the configuration files for a package" \ + "\n --unpack Unpack a package, but don't configure it" \ + "\n --force-depends Ignore dependency problems" \ + "\n --force-confnew Overwrite existing config files when installing" \ + "\n --force-confold Keep old config files when installing" \ + ) \ + IF_NOT_LONG_OPTS( \ "\n -i Install the package" \ "\n -l List of installed packages" \ "\n -C Configure an unpackaged package" \ - "\n -F depends Ignore dependency problems" \ "\n -P Purge all files of a package" \ "\n -r Remove all but the configuration files for a package" \ "\n -u Unpack a package, but don't configure it" \ + "\n -F depends Ignore dependency problems" \ + "\n -F confnew Overwrite existing config files when installing" \ + "\n -F confold Keep old config files when installing" \ + ) #define dpkg_deb_trivial_usage \ "[-cefxX] FILE [argument]" -- cgit v1.1