summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2021-02-27 17:00:15 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2021-02-27 17:00:15 -0700
commit6ec90a33b5ae4d188bc3dafd02c9e9cd71e6d09e (patch)
treea44db7535523424c1be0f34ce15601d972443548
parent5002c653d53b7ef21a91f889a17f4f2ab52596d8 (diff)
Fix CmdAliasHEADmaster
-rw-r--r--cmd_command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_command.go b/cmd_command.go
index f31860b..814c06e 100644
--- a/cmd_command.go
+++ b/cmd_command.go
@@ -322,7 +322,7 @@ func (c CmdAlias) fiCmdWrite(fiw fiWriter) error {
ez.WriteLine("to", c.CommitIsh)
return ez.err
}
-func init() { parser_registerCmd("alias\n", CmdCheckpoint{}) }
+func init() { parser_registerCmd("alias\n", CmdAlias{}) }
func (CmdAlias) fiCmdRead(fir fiReader) (cmd Cmd, err error) {
ez := &ezfir{fir: fir}
defer ez.Defer(&err)