diff --git a/README.md b/README.md index 782c495..d6f25e8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # GOSPA - GO and Save this PAge +### Webpage saving utility to download page and browse it locally +## Use + +`gospa (optional)[FLAGs]... (mandatory)-url [webpage URL]` + +### Flags: +-help -> Print this message and exit +-version -> Print version information and exit +-url (string) -> Specify URL to the webpage to be saved + +The webpage with a directory of its file contents will be outputted in the working directory. + +### Note + +While it works on simple pages good enough, if you're dealing with bloated|almost obfuscated webpages - the output will probably be a simple text with little to no styling + +## License +MIT \ No newline at end of file diff --git a/gospa.go b/gospa.go index ebe1cb8..c74108e 100644 --- a/gospa.go +++ b/gospa.go @@ -245,7 +245,7 @@ func main() { flag.Usage = func() { fmt.Printf( `Gospa - GO and Save this (web) PAge -Usage: gospa (optional)[FLAGs]... (mandatory)-u [webpage URL] +Usage: gospa (optional)[FLAGs]... (mandatory)-url [webpage URL] Flags: -help -> Print this message and exit