Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion contrib/bin/user-ssh-list
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
CLUSTO="clusto-query"

usage() {
echo "Usage: $0 username clusto_query command_to_run" >&2
if [ "$0" == "root-ssh-list" ]; then
echo "Usage: $0 clusto_query command_to_run" >&2
elif [ "$0" == "user-ssh-list" ]; then
echo "Usage: $0 username clusto_query command_to_run" >&2
fi
exit 1
}

Expand Down
6 changes: 5 additions & 1 deletion contrib/bin/user-ssh-list-async
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
CLUSTO="clusto-query"

usage() {
echo "Usage: $0 username clusto_query command_to_run" >&2
if [ "$0" == "root-ssh-list-async" ]; then
echo "Usage: $0 clusto_query command_to_run" >&2
elif [ "$0" == "user-ssh-list-async" ]; then
echo "Usage: $0 username clusto_query command_to_run" >&2
fi
exit 1
}

Expand Down