diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-04-16 08:23:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 08:23:20 -0400 |
| commit | 861ea6f2682f0ed1f3f4ea4fbb70bdb09a2ca536 (patch) | |
| tree | 702ee2ba51664caeca828aa4d9d211b87accfe02 /lib/thread.c | |
| parent | dc92ca52c5156a4fe529b0ea6e4c752cbf0630d1 (diff) | |
| parent | 010bf6f1caf0eed23bf3ba580a2fcb2a64aec837 (diff) | |
Merge pull request #8465 from opensourcerouting/vtysh-scan-snafu
fix vtysh_scan SNAFUs
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/thread.c b/lib/thread.c index 567516300d..3d8b544678 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -307,13 +307,13 @@ static uint8_t parse_filter(const char *filterstr) } #ifndef EXCLUDE_CPU_TIME -DEFUN (show_thread_cpu, - show_thread_cpu_cmd, - "show thread cpu [FILTER]", - SHOW_STR - "Thread information\n" - "Thread CPU usage\n" - "Display filter (rwtex)\n") +DEFUN_NOSH (show_thread_cpu, + show_thread_cpu_cmd, + "show thread cpu [FILTER]", + SHOW_STR + "Thread information\n" + "Thread CPU usage\n" + "Display filter (rwtex)\n") { uint8_t filter = (uint8_t)-1U; int idx = 0; @@ -374,12 +374,12 @@ static void show_thread_poll_helper(struct vty *vty, struct thread_master *m) } } -DEFUN (show_thread_poll, - show_thread_poll_cmd, - "show thread poll", - SHOW_STR - "Thread information\n" - "Show poll FD's and information\n") +DEFUN_NOSH (show_thread_poll, + show_thread_poll_cmd, + "show thread poll", + SHOW_STR + "Thread information\n" + "Show poll FD's and information\n") { struct listnode *node; struct thread_master *m; |
