aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--set-contact-addresses.c7
-rw-r--r--set-contact-blocks.c4
2 files changed, 6 insertions, 5 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
diff --git a/set-contact-blocks.c b/set-contact-blocks.c
index 014777a..9ad0e2e 100644
--- a/set-contact-blocks.c
+++ b/set-contact-blocks.c
@@ -1,8 +1,8 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
-USAGE("[-A ask-at] [-a ask-at] [-S service] [-s service] [-T type] [-t type] "
- "[-U unblock-at] [-u unblock-at] [-Y style] [-y style] contact-id");
+USAGE("[-A old-ask-at] [-a new-ask-at] [-S old-service] [-s new-service] [-T old-type] [-t new-type] "
+ "[-U old-unblock-at] [-u new-unblock-at] [-Y old-style] [-y new-style] contact-id");
int