mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
Function cmd_read invoked with 2 parameters, 1 required
This commit is contained in:
parent
1ea7a7bc20
commit
153bd79ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ $value = $argc > 3 ? $argv[3] : null;
|
|||
|
||||
|
||||
switch ($cmd) {
|
||||
case 'read': cmd_read($param, $value); break;
|
||||
case 'read': cmd_read($param); break;
|
||||
case 'write': cmd_write($param, $value); break;
|
||||
case 'password': cmd_password($param); break;
|
||||
default: die("Unknown command: $cmd\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue