The adopt command works even if the description isn't quoted

This commit is contained in:
Michiel Broek 2007-06-08 18:56:04 +00:00
parent b7cffd6710
commit 4bd31e0499
3 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,10 @@ v0.91.9 16-May-2007
Fixed upload crash when a FILE_ID.DIZ is found but the bbs is
not allowed to open for reading.
mbfile:
Help message displays quoted description.
The adopt command works even if the description isn't quoted.
mbpasswd:
Added check for FreeBSD > 6.0 and use sysctl for security check.

View File

@ -4,7 +4,7 @@
* Purpose: File Database Maintenance
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -124,6 +124,7 @@ int main(int argc, char **argv)
Description = xstrcpy(argv[i]);
}
}
break;
}
} else if ((!strncasecmp(argv[i], "d", 1)) || (!strncasecmp(argv[i], "u", 1))) {
if (!strncasecmp(argv[i], "u", 1))

View File

@ -114,7 +114,7 @@ void Help(void)
mbse_colour(LIGHTBLUE, BLACK);
printf(" Commands are:\n\n");
mbse_colour(CYAN, BLACK);
printf(" a adopt <area> <file> [desc] Adopt file to area\n");
printf(" a adopt <area> <file> \"[desc]\" Adopt file to area\n");
printf(" c check [area] Check filebase\n");
printf(" d delete <area> \"<filemask>\" Mark file(s) in area for deletion\n");
printf(" im import <area> Import files in current dir to area\n");