mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Add the "devices" command as an official one
This commit is contained in:
parent
36a05fe53a
commit
55ad36d1a5
5 changed files with 68 additions and 17 deletions
|
|
@ -755,7 +755,7 @@ int main(int argc, char* argv[])
|
|||
operation = OPERATION_SPINUP;
|
||||
} else if (strcmp(argv[optind], "down") == 0) {
|
||||
operation = OPERATION_SPINDOWN;
|
||||
} else if (strcmp(argv[optind], "test-devices") == 0) {
|
||||
} else if (strcmp(argv[optind], "devices") == 0) {
|
||||
operation = OPERATION_DEVICES;
|
||||
} else if (strcmp(argv[optind], "smart") == 0) {
|
||||
operation = OPERATION_SMART;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue