Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejzj committed Jul 4, 2023
1 parent 01b87ae commit 6f52315
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Options:
-h Show this help message.
-r Recurse the posts directory.
-v Be verbose (print each command being executed).
-e HEADER_PATH Path to a header html file (header.html by default).
-f FOOTER_PATH Path to a footer html file (footer.html by default).
-m MD_RENDERER Markdown renderer command name. Must be able to read
Expand Down Expand Up @@ -79,7 +79,7 @@ parse_optargs()
POSTS_DIR=$OPTARG;;
*)
printf "Received invalid argument\n\n" 1>&2
usage
usage
# Exit code: EINVAL (invalid argument)
exit 22
esac
Expand Down Expand Up @@ -258,7 +258,7 @@ get_posts()
MAXDEPTH_OPT=""
DEPTH_LIMITER=""
fi

find "$POSTS_DIR" "$MAXDEPTH_OPT" "$DEPTH_LIMITER" -type f -name "*.md"
}

Expand Down

0 comments on commit 6f52315

Please sign in to comment.