From d758d71bd18638fb200b43f05b12b56f37d56474 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 11 Apr 2021 08:17:02 +0200 Subject: Print in usage which are the old and which are the new values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- set-contact-addresses.c | 7 ++++--- set-contact-blocks.c | 4 ++-- 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 -- cgit v1.2.3-70-g09d2