(ctx *snap.Context)
| 1663 | } |
| 1664 | |
| 1665 | func runOpenChanges(ctx *snap.Context) error { |
| 1666 | if ctx.NArgs() != 0 { |
| 1667 | fmt.Fprintf(ctx.Stderr(), "Usage: %s openChanges\n", commandName) |
| 1668 | return fmt.Errorf("expected 0 arguments, got %d", ctx.NArgs()) |
| 1669 | } |
| 1670 | |
| 1671 | return openDoc(ctx, docSpecs["changes"]) |
| 1672 | } |
| 1673 | |
| 1674 | func runOpenMetrics(ctx *snap.Context) error { |
| 1675 | if ctx.NArgs() != 0 { |