command/Partition: add command "newpartition"

This commit is contained in:
Max Kellermann
2017-02-17 23:38:30 +01:00
parent 1e972174a6
commit 1786f9b1bb
4 changed files with 88 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ static constexpr struct command commands[] = {
#endif
{ "move", PERMISSION_CONTROL, 2, 2, handle_move },
{ "moveid", PERMISSION_CONTROL, 2, 2, handle_moveid },
{ "newpartition", PERMISSION_ADMIN, 1, 1, handle_newpartition },
{ "next", PERMISSION_CONTROL, 0, 0, handle_next },
{ "notcommands", PERMISSION_NONE, 0, 0, handle_not_commands },
{ "outputs", PERMISSION_READ, 0, 0, handle_devices },