diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-03-31 12:03:19 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-03-31 12:03:19 -0800 |
| commit | db90beeb83143bb37fefecefc59de00c4b14bef8 (patch) | |
| tree | 5b519148c16e9f53b8cafa36069a0b6424699c5e | |
| parent | 305ff4a7e0f878f0888f8b566f7d5689a6861fe9 (diff) | |
| download | tinyrad-db90beeb83143bb37fefecefc59de00c4b14bef8.tar.gz tinyrad-db90beeb83143bb37fefecefc59de00c4b14bef8.tar.bz2 tinyrad-db90beeb83143bb37fefecefc59de00c4b14bef8.tar.xz tinyrad-db90beeb83143bb37fefecefc59de00c4b14bef8.zip | |
tinyrad: updating widget names
| -rw-r--r-- | src/tru/tinyradutil.c | 4 | ||||
| -rwxr-xr-x | 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( | |||
| 113 | const TinyRadUtilWidget tru_widget_map[] = | 113 | const TinyRadUtilWidget tru_widget_map[] = |
| 114 | { | 114 | { |
| 115 | { | 115 | { |
| 116 | .name = "configuration", | 116 | .name = "config", |
| 117 | .desc = "print configuration", | 117 | .desc = "print configuration", |
| 118 | .usage = NULL, | 118 | .usage = NULL, |
| 119 | .aliases = (const char * const[]) { TRU_PREFIX"-conf", TRU_PREFIX"-configuration", NULL }, | 119 | .aliases = (const char * const[]) { TRU_PREFIX"-conf", TRU_PREFIX"-configuration", NULL }, |
| 120 | .func = &tru_widget_config | 120 | .func = &tru_widget_config |
| 121 | }, | 121 | }, |
| 122 | { | 122 | { |
| 123 | .name = "dictionary", | 123 | .name = "dict", |
| 124 | .desc = "print processed dictionary", | 124 | .desc = "print processed dictionary", |
| 125 | .usage = NULL, | 125 | .usage = NULL, |
| 126 | .aliases = (const char * const[]) { TRU_PREFIX"-dict", TRU_PREFIX"-dictionary", NULL }, | 126 | .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 | |||
| 37 | TINYRADNOINIT=1 | 37 | TINYRADNOINIT=1 |
| 38 | export TINYRADNOINIT | 38 | export TINYRADNOINIT |
| 39 | 39 | ||
| 40 | ./src/tinyrad dictionary \ | 40 | ./src/tinyrad dict \ |
| 41 | --builtin-dict \ | 41 | --builtin-dict \ |
| 42 | 1> /tmp/tinyrad-dict-defaults1.$$ \ | 42 | 1> /tmp/tinyrad-dict-defaults1.$$ \ |
| 43 | 2> /dev/null | 43 | 2> /dev/null |
| 44 | 44 | ||
| 45 | ./src/tinyrad dictionary \ | 45 | ./src/tinyrad dict \ |
| 46 | -D /tmp/tinyrad-dict-defaults1.$$ \ | 46 | -D /tmp/tinyrad-dict-defaults1.$$ \ |
| 47 | 1> /tmp/tinyrad-dict-defaults2.$$ \ | 47 | 1> /tmp/tinyrad-dict-defaults2.$$ \ |
| 48 | 2> /dev/null | 48 | 2> /dev/null |
