diff --git a/jgo/jgo.py b/jgo/jgo.py index f9559cc..af95f5c 100644 --- a/jgo/jgo.py +++ b/jgo/jgo.py @@ -265,7 +265,7 @@ def run_and_combine_outputs(command, *args): def find_endpoint(argv, shortcuts={}): # endpoint is first positional argument - pattern = re.compile(".*https?://.*") + pattern = re.compile("(.*https?://.*|[a-zA-Z]:\\.*)") indices = [] for index, arg in enumerate(argv): if arg in shortcuts or (Endpoint.is_endpoint(arg) and not pattern.match(arg)):