diff --git a/include/argparse/argparse.hpp b/include/argparse/argparse.hpp index cb427cd..75437f8 100644 --- a/include/argparse/argparse.hpp +++ b/include/argparse/argparse.hpp @@ -830,6 +830,7 @@ public: ArgumentParser(const ArgumentParser &other) : mProgramName(other.mProgramName), + mIsParsed(other.mIsParsed), mPositionalArguments(other.mPositionalArguments), mOptionalArguments(other.mOptionalArguments) { for (auto it = std::begin(mPositionalArguments); it != std::end(mPositionalArguments);