Skip to content

Commit

Permalink
Allow "qr" as well as "qcrun"
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Nov 28, 2023
1 parent 2987d4a commit a3d02be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public QCRunCommand(String line)
{
super(line);

if (!argv[0].equals("qcrun"))
if (!argv[0].equals("qcrun") && !argv[0].equals("qr"))
{
throw new IllegalArgumentException(USAGE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public AnalysisCommand getCommand(String line)
return new QuickCheckLSPCommand(line);

case "qcrun":
case "qr":
return new QCRunLSPCommand(line);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public AnalysisCommand getCommand(String line)
return new QuickCheckCommand(line);

case "qcrun":
case "qr":
return new QCRunCommand(line);
}

Expand Down

0 comments on commit a3d02be

Please sign in to comment.