Commit 6c872fa
committed
package/klish: only show banner in interactive mode
Meaning, skip the CLI help message in non-interactive mode, allowing for:
admin@gateway:~$ klish -c 'show mdns'
Enabled : yes
Domain : local
Deny : wan
HOSTNAME ADDRESS LAST SEEN SERVICES
Living-Room.local 192.168.0.139 18:50:52 trel(57249) sleep-proxy(61936) raop(7000) srpl-tls(853)
firefly-4.local 192.168.0.122 18:50:46 workstation(9)
gimli.local 192.168.0.200 18:50:46 device-info(0)
infix.local 192.168.0.1 18:50:47 https(443) workstation(9) ssh(22) https(443)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>1 parent ec9a089 commit 6c872fa
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments