Skip to content

Commit

Permalink
Generate man pages in etc/man1
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed Jan 2, 2020
1 parent 35cb3d8 commit 31d8d49
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generate: proto client

docs:
rm -rf docs && mkdir docs
rm -rf etc && mkdir -p etc/man
rm -rf etc && mkdir -p etc/man1
go run cmd/gendoc/main.go

proto:
Expand Down
2 changes: 1 addition & 1 deletion cmd/gendoc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {
Source: "Upterm " + command.Version,
Manual: "Upterm Manual",
}
if err := doc.GenManTree(rootCmd, header, "./etc/man"); err != nil {
if err := doc.GenManTree(rootCmd, header, "./etc/man1"); err != nil {
log.Fatal(err)
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 31d8d49

Please sign in to comment.