From db90beeb83143bb37fefecefc59de00c4b14bef8 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Thu, 31 Mar 2022 12:03:19 -0800 Subject: tinyrad: updating widget names --- src/tru/tinyradutil.c | 4 ++-- tests/test-dict-defaults.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tru/tinyradutil.c b/src/tru/tinyradutil.c index f0a17ac..8a95faf 100644 --- a/src/tru/tinyradutil.c +++ b/src/tru/tinyradutil.c @@ -113,14 +113,14 @@ tru_widget_lookup( const TinyRadUtilWidget tru_widget_map[] = { { - .name = "configuration", + .name = "config", .desc = "print configuration", .usage = NULL, .aliases = (const char * const[]) { TRU_PREFIX"-conf", TRU_PREFIX"-configuration", NULL }, .func = &tru_widget_config }, { - .name = "dictionary", + .name = "dict", .desc = "print processed dictionary", .usage = NULL, .aliases = (const char * const[]) { TRU_PREFIX"-dict", TRU_PREFIX"-dictionary", NULL }, diff --git a/tests/test-dict-defaults.sh b/tests/test-dict-defaults.sh index 3d25246..776a989 100755 --- a/tests/test-dict-defaults.sh +++ b/tests/test-dict-defaults.sh @@ -37,12 +37,12 @@ test -x src/tinyrad || exit 77 TINYRADNOINIT=1 export TINYRADNOINIT -./src/tinyrad dictionary \ +./src/tinyrad dict \ --builtin-dict \ 1> /tmp/tinyrad-dict-defaults1.$$ \ 2> /dev/null -./src/tinyrad dictionary \ +./src/tinyrad dict \ -D /tmp/tinyrad-dict-defaults1.$$ \ 1> /tmp/tinyrad-dict-defaults2.$$ \ 2> /dev/null -- cgit v1.2.3