mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +00:00
[RAPPS] cmdline enhancement (#3087)
* [RAPPS] now command-line option supports begin with both / and - * [RAPPS] Add help command with /? * [RAPPS] add /find command * [RAPPS] add /info option * [RAPPS] add copyright and contact e-mail
This commit is contained in:
parent
997650d424
commit
7a11c65561
35 changed files with 612 additions and 90 deletions
|
@ -1,7 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#define CMD_KEY_INSTALL L"/INSTALL"
|
||||
#define CMD_KEY_SETUP L"/SETUP"
|
||||
#define CMD_KEY_INSTALL L"INSTALL"
|
||||
#define CMD_KEY_SETUP L"SETUP"
|
||||
#define CMD_KEY_FIND L"FIND"
|
||||
#define CMD_KEY_INFO L"INFO"
|
||||
#define CMD_KEY_HELP L"?"
|
||||
|
||||
// return TRUE if the SETUP key was valid
|
||||
BOOL UseCmdParameters(LPWSTR lpCmdLine);
|
||||
const WCHAR UsageString[] = L"RAPPS [/" CMD_KEY_HELP "] [/" CMD_KEY_INSTALL " packagename] [/" CMD_KEY_SETUP " filename]";
|
||||
|
||||
BOOL ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue