Verified Commit 5f241d98 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Feat(mine): usage: display available pools

parent a4fec627
......@@ -25,7 +25,12 @@ source $DIRNAME/params
# Check
if [ -z "$CONFIG" ]; then
echo "usage: onionmine $BASENAME <config-pool-name>"
echo "usage: onionmine $BASENAME <pool>"
echo ""
echo "Available pools:"
echo ""
ls -1 $POOLS | sed -e 's/^/ /'
echo ""
exit 1
elif [ ! -e "$FILTERS" ]; then
echo "$BASENAME: no such file $FILTERS"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment