Avoid multi-line string constants.
This commit is contained in:
parent
5837e8b105
commit
b6666f93ca
|
@ -24,36 +24,36 @@
|
||||||
#include "regproc.h"
|
#include "regproc.h"
|
||||||
|
|
||||||
static char *usage =
|
static char *usage =
|
||||||
"Usage:
|
"Usage:\n"
|
||||||
regedit filename
|
" regedit filename\n"
|
||||||
regedit /E filename [regpath]
|
" regedit /E filename [regpath]\n"
|
||||||
regedit /D regpath
|
" regedit /D regpath\n"
|
||||||
|
"\n"
|
||||||
filename - registry file name
|
"filename - registry file name\n"
|
||||||
regpath - name of the registry key
|
"regpath - name of the registry key\n"
|
||||||
|
"\n"
|
||||||
When is called without any switches adds contents of the specified
|
"When is called without any switches adds contents of the specified\n"
|
||||||
registry file to the registry
|
"registry file to the registry\n"
|
||||||
|
"\n"
|
||||||
Switches:
|
"Switches:\n"
|
||||||
/E - exports contents of the specified registry key to the specified
|
" /E - exports contents of the specified registry key to the specified\n"
|
||||||
file. Exports the whole registry if no key is specified.
|
" file. Exports the whole registry if no key is specified.\n"
|
||||||
/D - deletes specified registry key
|
" /D - deletes specified registry key\n"
|
||||||
/S - silent execution, can be used with any other switch.
|
" /S - silent execution, can be used with any other switch.\n"
|
||||||
The only existing mode, exists for compatibility with Windows regedit.
|
" The only existing mode, exists for compatibility with Windows regedit.\n"
|
||||||
/V - advanced mode, can be used with any other switch.
|
" /V - advanced mode, can be used with any other switch.\n"
|
||||||
Ignored, exists for compatibility with Windows regedit.
|
" Ignored, exists for compatibility with Windows regedit.\n"
|
||||||
/L - location of system.dat file. Can be used with any other switch.
|
" /L - location of system.dat file. Can be used with any other switch.\n"
|
||||||
Ignored. Exists for compatibility with Windows regedit.
|
" Ignored. Exists for compatibility with Windows regedit.\n"
|
||||||
/R - location of user.dat file. Can be used with any other switch.
|
" /R - location of user.dat file. Can be used with any other switch.\n"
|
||||||
Ignored. Exists for compatibility with Windows regedit.
|
" Ignored. Exists for compatibility with Windows regedit.\n"
|
||||||
/? - print this help. Any other switches are ignored.
|
" /? - print this help. Any other switches are ignored.\n"
|
||||||
/C - create registry from. Not implemented.
|
" /C - create registry from. Not implemented.\n"
|
||||||
|
"\n"
|
||||||
The switches are case-insensitive, can be prefixed either by '-' or '/'.
|
"The switches are case-insensitive, can be prefixed either by '-' or '/'.\n"
|
||||||
This program is command-line compatible with Microsoft Windows
|
"This program is command-line compatible with Microsoft Windows\n"
|
||||||
regedit. The difference with Windows regedit - this application has
|
"regedit. The difference with Windows regedit - this application has\n"
|
||||||
command-line interface only.\n";
|
"command-line interface only.\n";
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ACTION_UNDEF, ACTION_ADD, ACTION_EXPORT, ACTION_DELETE
|
ACTION_UNDEF, ACTION_ADD, ACTION_EXPORT, ACTION_DELETE
|
||||||
|
|
Loading…
Reference in New Issue