(c *rpc.Client)
| 173 | } |
| 174 | |
| 175 | func cmd_set(c *rpc.Client) { |
| 176 | switch flag.NArg() { |
| 177 | case 1: |
| 178 | fmt.Print(client_set(c, "\x00", "\x00")) |
| 179 | case 2: |
| 180 | fmt.Print(client_set(c, flag.Arg(1), "\x00")) |
| 181 | case 3: |
| 182 | fmt.Print(client_set(c, flag.Arg(1), flag.Arg(2))) |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | func cmd_options(c *rpc.Client) { |
| 187 | fmt.Print(client_options(c, 0)) |
no test coverage detected