From: Kern Sibbald Date: Tue, 29 Aug 2006 15:06:49 +0000 (+0000) Subject: Sort dot commands X-Git-Tag: Release-2.0.0~534 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a6c7d06a459954cf772cf2149fa17136e3002ac;p=bacula%2Fbacula Sort dot commands git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3382 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index de6d1fa628..8873284c34 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -6,7 +6,9 @@ Version 1.39.20: - The basic features of Migration are now complete. - There is a Migration chapter in the doc. + http://www.bacula.org/dev-manual/Migration.html - There is an Encryption chapter in the doc. + http://www.bacula.org/dev-manual/Bacula_Data_Encryption.html New Features in 1.39.20: - Add -n option to bconsole to turn off conio. @@ -107,6 +109,7 @@ A Lot of New features for 1.39.18: the old RunBefore/AfterJob and ClientRunBefore/AfterJob features plus a *lot* more, allowing you to control just about every aspect of running scripts. See the manual for detailed documentation. + http://www.bacula.org/dev-manual/Configuring_Director.html#5227 - The examples directory has a new bacula_mail_summary.sh file that creates a single email summary of any number of jobs. Submitted by Andrew J. Millar. diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index b172e679e4..7716fcc88e 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -55,22 +55,22 @@ static int getmsgscmd(UAContext *ua, const char *cmd); struct cmdstruct { const char *key; int (*func)(UAContext *ua, const char *cmd); const char *help; }; static struct cmdstruct commands[] = { + { NT_(".backups"), backupscmd, NULL}, + { NT_(".clients"), clientscmd, NULL}, + { NT_(".defaults"), defaultscmd, NULL}, { NT_(".die"), diecmd, NULL}, - { NT_(".jobs"), jobscmd, NULL}, + { NT_(".exit"), quit_cmd, NULL}, { NT_(".filesets"), filesetscmd, NULL}, - { NT_(".clients"), clientscmd, NULL}, + { NT_(".help"), qhelp_cmd, NULL}, + { NT_(".jobs"), jobscmd, NULL}, + { NT_(".levels"), levelscmd, NULL}, + { NT_(".messages"), getmsgscmd, NULL}, { NT_(".msgs"), msgscmd, NULL}, { NT_(".pools"), poolscmd, NULL}, - { NT_(".types"), typescmd, NULL}, - { NT_(".backups"), backupscmd, NULL}, - { NT_(".levels"), levelscmd, NULL}, + { NT_(".quit"), quit_cmd, NULL}, { NT_(".status"), qstatus_cmd, NULL}, { NT_(".storage"), storagecmd, NULL}, - { NT_(".defaults"), defaultscmd, NULL}, - { NT_(".messages"), getmsgscmd, NULL}, - { NT_(".help"), qhelp_cmd, NULL}, - { NT_(".quit"), quit_cmd, NULL}, - { NT_(".exit"), quit_cmd, NULL} + { NT_(".types"), typescmd, NULL} }; #define comsize (sizeof(commands)/sizeof(struct cmdstruct))