Skip to content

Commit 6ae0742

Browse files
committed
suppport single quotes
1 parent 4d7f6b0 commit 6ae0742

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shell.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ void Shell::run() {
2121

2222
// trim leading whitespace
2323
size_t start = args.find_first_not_of(" ");
24+
args = args.substr(args.find_first_of("'"), args.find_last_of("'")-1);
2425
if (start != std::string::npos) {
2526
args = args.substr(start);
2627
} else {

0 commit comments

Comments
 (0)