diff --git a/qcd_function b/qcd_function index 86c961a..1e0c2e2 100644 --- a/qcd_function +++ b/qcd_function @@ -184,8 +184,9 @@ function gcd() { local cdto { cdto=$( python -c ' import sys,os,re -if len(sys.argv)==1: +if len(sys.argv)==1 or sys.argv[-1]=="-h": print("Arguments: [dir/]pattern_to_match_folders") +if sys.argv[-1]=="-h": sys.exit(0) def G(): return "\033[32;1m"