diff --git a/bin/git-ignore b/bin/git-ignore index 7747dcb..d7a6fed 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -1,10 +1,10 @@ #!/bin/sh if test $# -eq 0; then - echo "arguments required" && exit 1 + cat .gitignore else for pattern in $@; do echo $pattern >> .gitignore echo "... added '$pattern'" done -fi \ No newline at end of file +fi