]> andersk Git - moira.git/blobdiff - clients/moira/menus.c
This version has listmaint, clustermaint, and attachmaint working
[moira.git] / clients / moira / menus.c
index ba7ff93e6dbfc2912d815c84c337cd67ad21638f..9925f6bd902f0f140dc2ff5b4ff68bda3ee910d5 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef lint
+#if (!defined(lint) && !defined(SABER))
   static char rcsid_module_c[] = "$Header$";
 #endif lint
 
   static char rcsid_module_c[] = "$Header$";
 #endif lint
 
@@ -283,8 +283,8 @@ Menu listmaint_list_menu = {
         SIMPLEFUNC("member",
                   "List all lists to which a given member belongs",
                   ListByMember),
         SIMPLEFUNC("member",
                   "List all lists to which a given member belongs",
                   ListByMember),
-       SIMPLEFUNC("administrator",
-                  "List all lists which a given user can administer",
+       SIMPLEFUNC("admin",
+                  "List all items which a given member can administer",
                   ListByAdministrator),
        SIMPLEFUNC("groups", "List all lists which are groups",
                   ListAllGroups),
                   ListByAdministrator),
        SIMPLEFUNC("groups", "List all lists which are groups",
                   ListAllGroups),
@@ -299,20 +299,22 @@ Menu listmaint_member_menu = {
     ListmaintMemberMenuEntry,
     ListmaintMemberMenuExit,
     NULL,
     ListmaintMemberMenuEntry,
     ListmaintMemberMenuExit,
     NULL,
-    6,
+    7,
     {
     {
-       SIMPLEFUNC("add", "Add a member to the list",
+       SIMPLEFUNC("add", "Add a member to this list",
                   AddMember),
                   AddMember),
-       SIMPLEFUNC("delete", "Delete a member from the list",
+       SIMPLEFUNC("remove", "Remove a member from this list",
                   DeleteMember),
                   DeleteMember),
-       SIMPLEFUNC("all", "Show the members of the list",
+       SIMPLEFUNC("all", "Show the members of this list",
                   ListAllMembers),
        SIMPLEFUNC("user", "Show the members of type USER",
                   ListUserMembers),
        SIMPLEFUNC("list", "Show the members of type LIST",
                   ListListMembers),
        SIMPLEFUNC("string", "Show the members of type STRING",
                   ListAllMembers),
        SIMPLEFUNC("user", "Show the members of type USER",
                   ListUserMembers),
        SIMPLEFUNC("list", "Show the members of type LIST",
                   ListListMembers),
        SIMPLEFUNC("string", "Show the members of type STRING",
-                  ListStringMembers)
+                  ListStringMembers),
+       SIMPLEFUNC("verbose", "Toggle Verbosity of Delete", 
+                  ToggleVerboseMode)
     } 
 };
     
     } 
 };
     
@@ -328,7 +330,7 @@ Menu listmaint_top_menu = {
        } },
         { NULLFUNC, &listmaint_member_menu, 2, {
            {"add", "Create new List"},
        } },
         { NULLFUNC, &listmaint_member_menu, 2, {
            {"add", "Create new List"},
-           {"list name", "Name of list (do not use wildcards): "}
+           {"list name", "Name of list: "}
        } },
        { UpdateList, NULLMENU, 2, {
            {"update", "Update characteristics of a list"},
        } },
        { UpdateList, NULLMENU, 2, {
            {"update", "Update characteristics of a list"},
@@ -340,7 +342,7 @@ Menu listmaint_top_menu = {
        } },
        { NULLFUNC, &listmaint_member_menu, 2, {
            {"members", "Change/Display the membership of a list"},
        } },
        { NULLFUNC, &listmaint_member_menu, 2, {
            {"members", "Change/Display the membership of a list"},
-           {"list name", "Name of list (do not use wildcards): "}
+           {"list name", "Name of list: "}
        } },
        SIMPLEFUNC("query_remove",
                   "Interactively remove an item from all lists",
        } },
        SIMPLEFUNC("query_remove",
                   "Interactively remove an item from all lists",
This page took 0.043299 seconds and 4 git commands to generate.