(ctx *snap.Context)
| 1681 | } |
| 1682 | |
| 1683 | func runOpenLog(ctx *snap.Context) error { |
| 1684 | if ctx.NArgs() != 0 { |
| 1685 | fmt.Fprintf(ctx.Stderr(), "Usage: %s openLog\n", commandName) |
| 1686 | return fmt.Errorf("expected 0 arguments, got %d", ctx.NArgs()) |
| 1687 | } |
| 1688 | |
| 1689 | return openDoc(ctx, docSpecs["log"]) |
| 1690 | } |
| 1691 | |
| 1692 | func runOpenLookingBack(ctx *snap.Context) error { |
| 1693 | if ctx.NArgs() != 0 { |