[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Option parsing patch
From: |
David B. Lamkins |
Subject: |
[Bug-apl] Option parsing patch |
Date: |
Sat, 11 Jun 2016 21:55:25 -0700 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
This patch corrects a problem with the -p and -l options not recognizing their
arguments.
Index: src/UserPreferences.cc
===================================================================
--- src/UserPreferences.cc (revision 739)
+++ src/UserPreferences.cc (working copy)
@@ -182,7 +182,7 @@
for (size_t a = 1; a < expanded_argv.size(); )
{
const char * opt = expanded_argv[a++];
- const char * val = (a < expanded_argv.size() - 1)
+ const char * val = (a < expanded_argv.size())
? expanded_argv[a] : 0;
if (!strcmp(opt, "-l"))
- [Bug-apl] Option parsing patch,
David B. Lamkins <=