From 1ed97715850f40d1ff8f7310401762e235c5fa82 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Tue, 28 Feb 2023 07:07:23 +0300 Subject: [PATCH] Updated README --- README.md | 18 ++++++++++++++++++ gospa.go | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) 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