From 335f397277895d9a9e2029fd7897270cc65be4c7 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 19 Aug 2017 20:22:53 -0700 Subject: [PATCH] Actually flip the order of the interpolated values The previous commit was a no-op. Fix it. --- src/builtin_argparse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtin_argparse.cpp b/src/builtin_argparse.cpp index 2749a8594..2dc127988 100644 --- a/src/builtin_argparse.cpp +++ b/src/builtin_argparse.cpp @@ -122,8 +122,8 @@ static int check_for_mutually_exclusive_flags(argparse_cmd_opts_t &opts, io_stre // testing easier. if (flag1 > flag2) { wcstring tmp(flag1); - flag2 = flag1; - flag1 = tmp; + flag1 = flag2; + flag2 = tmp; } streams.err.append_format( _(L"%ls: Mutually exclusive flags '%ls' and `%ls` seen\n"),