aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-09-22 13:52:09 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-09-22 13:52:09 -0700
commit0ec5a7475ca70222af19a149ad34fe2d482ae744 (patch)
treeb39412384c6d2123ee2cef417724b5d85d1baf5b
parent6c075036d71d3a40417e9661c655240a9b2f9fa3 (diff)
Removed redundant 'y' and 'n' options from -y/-n mode so quickpick works
properly and output is standardized
-rw-r--r--ask.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ask.c b/ask.c
index 3d58db6..62f4052 100644
--- a/ask.c
+++ b/ask.c
@@ -389,8 +389,6 @@ int main(int argc, char *argv[])
if (yes || no) {
if ((size_t)nopts + 4 >= linescap)
opts = memcheck(realloc(opts, (linescap += 4)*sizeof(char*)));
- opts[nopts++] = "y";
- opts[nopts++] = "n";
opts[nopts++] = "Y";
opts[nopts++] = "N";
}