Skip to content

Commit

Permalink
added nl after listing
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 19, 2012
1 parent 8964f10 commit 645eb11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/mad
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ list_pages() {
for path in $paths; do
test ! -z $path && test -d $path && find $path -type f -print0 | xargs -0 basename | grep -iv 'readme*' | grep '.md$' | perl -pe 's|^(.*)\.md$| \1|;'
done
echo
}

#
Expand Down Expand Up @@ -138,6 +139,7 @@ case $1 in
;;
-U|--update-self)
install_mad
;;
-l|--list)
list_pages
;;
Expand Down

0 comments on commit 645eb11

Please sign in to comment.