From fd9d58073a89f9d3ee212e1c911a9f38b16476e7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 23 Oct 2022 15:47:26 +0200 Subject: [PATCH] arg:: added argll --- commandline.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/commandline.cpp b/commandline.cpp index fcfa4409..c6b9815b 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -87,6 +87,7 @@ EX namespace arg { EX const string& args() { return argument[pos]; } EX const char* argcs() { return args().c_str(); } EX int argi() { return atoi(argcs()); } + EX long long argll() { return atoll(argcs()); } EX int shift_argi() { shift(); return argi(); } EX const string& shift_args() { shift(); return args(); }