diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-17 13:25:35 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-17 13:25:35 +0200 |
commit | 49d41a26c649aa3a098c4316262adcabc7bb840c (patch) | |
tree | 98287d4822e0bcc6986e9b9045b75af33bae37de /lib | |
parent | isisd, vtysh: Fix isis routemaps (diff) | |
download | frr-49d41a26c649aa3a098c4316262adcabc7bb840c.tar.xz frr-49d41a26c649aa3a098c4316262adcabc7bb840c.zip |
isisd, lib, vtysh: Allow extract.pl to fully work
The regular expression for finding DEFUN/ALIAS in
extract.pl looks for "DEFUN (" or "ALIAS (" if
the *.c file does not have this then it will just
silently ignore the cli.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/thread.c | 28 | ||||
-rw-r--r-- | lib/workqueue.c | 10 |
2 files changed, 19 insertions, 19 deletions
diff --git a/lib/thread.c b/lib/thread.c index a128786c3..573e9f725 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -287,13 +287,13 @@ cpu_record_print(struct vty *vty, thread_type filter) vty_out_cpu_thread_history(vty, &tmp); } -DEFUN(show_thread_cpu, - show_thread_cpu_cmd, - "show thread cpu [FILTER]", - SHOW_STR - "Thread information\n" - "Thread CPU usage\n" - "Display filter (rwtexb)\n") +DEFUN (show_thread_cpu, + show_thread_cpu_cmd, + "show thread cpu [FILTER]", + SHOW_STR + "Thread information\n" + "Thread CPU usage\n" + "Display filter (rwtexb)\n") { int i = 0; thread_type filter = (thread_type) -1U; @@ -369,13 +369,13 @@ cpu_record_clear (thread_type filter) tmp); } -DEFUN(clear_thread_cpu, - clear_thread_cpu_cmd, - "clear thread cpu [FILTER]", - "Clear stored data\n" - "Thread information\n" - "Thread CPU usage\n" - "Display filter (rwtexb)\n") +DEFUN (clear_thread_cpu, + clear_thread_cpu_cmd, + "clear thread cpu [FILTER]", + "Clear stored data\n" + "Thread information\n" + "Thread CPU usage\n" + "Display filter (rwtexb)\n") { int i = 0; thread_type filter = (thread_type) -1U; diff --git a/lib/workqueue.c b/lib/workqueue.c index d351beb12..772749403 100644 --- a/lib/workqueue.c +++ b/lib/workqueue.c @@ -178,11 +178,11 @@ work_queue_item_requeue (struct work_queue *wq, struct listnode *ln) LISTNODE_ATTACH (wq->items, ln); /* attach to end of list */ } -DEFUN(show_work_queues, - show_work_queues_cmd, - "show work-queues", - SHOW_STR - "Work Queue information\n") +DEFUN (show_work_queues, + show_work_queues_cmd, + "show work-queues", + SHOW_STR + "Work Queue information\n") { struct listnode *node; struct work_queue *wq; |