]> git.sur5r.net Git - bacula/bacula/commitdiff
Documentation + add mark/unmark cmds
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Aug 2002 11:02:38 +0000 (11:02 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Aug 2002 11:02:38 +0000 (11:02 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@84 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/ua_restore.c
bacula/src/version.h

index 252688bf83d3a87a40fc69ddb18e22b2a59bb56f..2403a8bd0caf13699390bb8a6a43532340875dca 100644 (file)
@@ -427,31 +427,30 @@ static int last_full_handler(void *ctx, int num_fields, char **row)
 
 /* Forward referenced commands */
 
-static int addcmd(UAContext *ua, TREE_CTX *tree);
+static int markcmd(UAContext *ua, TREE_CTX *tree);
 static int countcmd(UAContext *ua, TREE_CTX *tree);
 static int findcmd(UAContext *ua, TREE_CTX *tree);
 static int lscmd(UAContext *ua, TREE_CTX *tree);
 static int helpcmd(UAContext *ua, TREE_CTX *tree);
 static int cdcmd(UAContext *ua, TREE_CTX *tree);
 static int pwdcmd(UAContext *ua, TREE_CTX *tree);
-static int rmcmd(UAContext *ua, TREE_CTX *tree);
+static int unmarkcmd(UAContext *ua, TREE_CTX *tree);
 static int quitcmd(UAContext *ua, TREE_CTX *tree);
 
 
 struct cmdstruct { char *key; int (*func)(UAContext *ua, TREE_CTX *tree); char *help; }; 
 static struct cmdstruct commands[] = {
- { N_("add"),        addcmd,       _("add file")},
- { N_("count"),      countcmd,     _("count files")},
- { N_("find"),       findcmd,      _("find files")},
+ { N_("mark"),       markcmd,      _("mark file for extraction")},
+ { N_("unmark"),     unmarkcmd,    _("unmark file for extraction")},
+ { N_("cd"),         cdcmd,        _("change current directory")},
+ { N_("pwd"),        pwdcmd,       _("print current working directory")},
  { N_("ls"),         lscmd,        _("list current directory")},    
  { N_("dir"),        lscmd,        _("list current directory")},    
- { N_("help"),       helpcmd,      _("print help")},
- { N_("cd"),         cdcmd,        _("change directory")},
- { N_("pwd"),        pwdcmd,       _("print directory")},
- { N_("rm"),         rmcmd,        _("remove a file")},
- { N_("remove"),     rmcmd,        _("remove a file")},
+ { N_("count"),      countcmd,     _("count marked files")},
+ { N_("find"),       findcmd,      _("find files")},
  { N_("done"),       quitcmd,      _("leave file selection mode")},
  { N_("exit"),       quitcmd,      _("exit = done")},
+ { N_("help"),       helpcmd,      _("print help")},
  { N_("?"),          helpcmd,      _("print help")},    
             };
 #define comsize (sizeof(commands)/sizeof(struct cmdstruct))
@@ -803,7 +802,7 @@ static void set_extract(TREE_NODE *node, int value)
    }
 }
 
-static int addcmd(UAContext *ua, TREE_CTX *tree)
+static int markcmd(UAContext *ua, TREE_CTX *tree)
 {
    TREE_NODE *node;
 
@@ -916,7 +915,7 @@ static int pwdcmd(UAContext *ua, TREE_CTX *tree)
 }
 
 
-static int rmcmd(UAContext *ua, TREE_CTX *tree)
+static int unmarkcmd(UAContext *ua, TREE_CTX *tree)
 {
    TREE_NODE *node;
 
index fba7113f220ede659b214218099d122be5d82b55..bbd06d464c59987e8ca719a289a98c757c48655c 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #define VERSION "1.24"
 #define VSTRING "1"
-#define DATE    "08 August 2002"
-#define LSMDATE "08Aug02"
+#define DATE    "10 August 2002"
+#define LSMDATE "10Aug02"
 
 /* Debug flags */
 #define DEBUG 1