mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 03:01:51 +08:00
explain usage in format command when arg isn't YES
This commit is contained in:
parent
ca1da33b82
commit
44bdc8503e
|
@ -272,6 +272,7 @@ int filesystem_cmd_format(int argc, char *argv[]) {
|
|||
if(strcmp(argv[1], "YES") == 0) {
|
||||
return _filesystem_format();
|
||||
}
|
||||
printf("usage: format YES\r\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue