mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +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) {
|
if(strcmp(argv[1], "YES") == 0) {
|
||||||
return _filesystem_format();
|
return _filesystem_format();
|
||||||
}
|
}
|
||||||
|
printf("usage: format YES\r\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue