Skip to content

Commit 3e881f9

Browse files
committed
--version shows version of all used tools
1 parent aba04da commit 3e881f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gh-md-toc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ gh_toc_app() {
217217

218218
if [ "$1" = '--version' ]; then
219219
echo "$gh_toc_version"
220+
echo
221+
echo "Kernel:"
222+
echo " `uname -a`"
223+
for tool in curl wget grep awk sed; do
224+
echo
225+
echo "$tool:"
226+
echo " `$tool --version | head -n 3`"
227+
done
220228
return
221229
fi
222230

0 commit comments

Comments
 (0)