aboutsummaryrefslogtreecommitdiffstats
path: root/set-contact-addresses.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-11 08:17:02 +0200
committerMattias Andrée <maandree@kth.se>2021-04-11 08:21:22 +0200
commitd758d71bd18638fb200b43f05b12b56f37d56474 (patch)
treef3d7771c608b75cd2de17efab75c94ca14be6ad8 /set-contact-addresses.c
parentUse lower case to set and upper case to look up (diff)
downloadcontacts-d758d71bd18638fb200b43f05b12b56f37d56474.tar.gz
contacts-d758d71bd18638fb200b43f05b12b56f37d56474.tar.bz2
contacts-d758d71bd18638fb200b43f05b12b56f37d56474.tar.xz
Print in usage which are the old and which are the new values
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--set-contact-addresses.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/set-contact-addresses.c b/set-contact-addresses.c
index 84c0c04..90fd9a6 100644
--- a/set-contact-addresses.c
+++ b/set-contact-addresses.c
@@ -1,9 +1,10 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
-USAGE("[-A address] [-a address] [-C context] [-c context] [-G [latitude]:[longitude]] [-g latitude:longitude] "
- "[-N country] [-n country] [-O care-of] [-o care-of] [-P post-code] [-p post-code] [-T city] [-t city] "
- "[-u] contact-id");
+USAGE("[-A old-address] [-a new-address] [-C old-context] [-c new-context] "
+ "[-G [old-latitude]:[old-longitude]] [-g new-latitude:new-longitude] "
+ "[-N old-country] [-n new-country] [-O old-care-of] [-o new-care-of] "
+ "[-P post-code] [-p new-post-code] [-T old-city] [-t new-city] [-u] contact-id");
static int