fix: resolve 5 bugs identified in code review (#3)

This commit is contained in:
tnypxl
2025-11-27 09:58:09 -06:00
committed by GitHub
parent 7569aff6ec
commit 877a7876c0
5 changed files with 18 additions and 24 deletions

View File

@@ -10,8 +10,6 @@ import (
"github.com/tnypxl/rollup/internal/scraper"
)
var cfg *config.Config
func main() {
// Check if the command is "help"
isHelpCommand := len(os.Args) > 1 && (os.Args[1] == "help" || os.Args[1] == "--help" || os.Args[1] == "-h")