CE change environment variables syntax, sdutil Add help command
This commit is contained in:
@@ -182,6 +182,12 @@ void app_main (void) {
|
||||
char devnamebuf[64];
|
||||
memset (devnamebuf, 0, sizeof (devnamebuf));
|
||||
|
||||
if (env_get (process_get_pgid (), "help", (void*)commandbuf, sizeof (commandbuf)) == ST_OK) {
|
||||
mprintf ("sdutil -C command -dev device_key\n");
|
||||
mprintf ("commands: part_dos, list_part_dos, format_fat32, format_fat16\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (env_get (process_get_pgid (), "C", (void*)commandbuf, sizeof (commandbuf)) != ST_OK) {
|
||||
mprintf ("ERROR C=???. No command provided\n");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user