Clean up help output
This commit is contained in:
parent
499a28be57
commit
408830ec4e
@ -28,12 +28,13 @@ import (
|
|||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
"path"
|
||||||
|
|
||||||
"github.com/russross/blackfriday"
|
"github.com/russross/blackfriday"
|
||||||
)
|
)
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Fprintf(os.Stderr, "Usage: %s [options] input output\n", os.Args[0])
|
fmt.Fprintf(os.Stderr, "Usage: %s [options] input output\n", path.Base(os.Args[0]))
|
||||||
fmt.Fprintf(os.Stderr, "http://foosoft.net/projects/md2vim/\n\n")
|
fmt.Fprintf(os.Stderr, "http://foosoft.net/projects/md2vim/\n\n")
|
||||||
fmt.Fprintf(os.Stderr, "Parameters:\n")
|
fmt.Fprintf(os.Stderr, "Parameters:\n")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
|
Loading…
Reference in New Issue
Block a user