Skip to content

Commit

Permalink
Git 没有数字编号,修改版本表示形式。
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-liu committed Mar 14, 2015
1 parent 8eb9ddb commit d9fc480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/zhmakeindex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
\def\zhmVersion{???}%
\def\zhmRevision{???}}

\title{\zhm\thanks{版本 \zhmVersion-rev\zhmRevision} 中文索引处理程序}
\title{\zhm\thanks{版本 \zhmVersion-\zhmRevision} 中文索引处理程序}
\author{刘海洋}
\date{2015 年 3 月 6 日}

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func main() {

setupLog(option)

log.Printf("zhmakeindex 版本:%s-rev%s\t作者:%s\n", Version, Revision, ProgramAuthor)
log.Printf("zhmakeindex 版本:%s-%s\t作者:%s\n", Version, Revision, ProgramAuthor)

if option.style != "" {
log.Printf("正在读取格式文件 %s……", option.style)
Expand Down Expand Up @@ -216,5 +216,5 @@ zhmakeindex [-c] [-i] [-o <ind>] [-q] [-r] [-s <sty>] [-t <log>]
fmt.Fprintf(os.Stderr, " -%-6s %-8s %s\n", f.Name, f.DefValue, f.Usage)
}
})
fmt.Fprintf(os.Stderr, "\n版本:%s-rev%s\t作者:%s\n", Version, Revision, ProgramAuthor)
fmt.Fprintf(os.Stderr, "\n版本:%s-%s\t作者:%s\n", Version, Revision, ProgramAuthor)
}

0 comments on commit d9fc480

Please sign in to comment.