Migrate to unified Makefile
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <algorithm>
|
||||
#include <getopt.h>
|
||||
#include <libscnumerics.hpp>
|
||||
#include "version.hpp"
|
||||
|
||||
// globals
|
||||
std::string upper {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};
|
||||
@ -55,7 +56,7 @@ int main(int argc, char* argv[]) {
|
||||
// handle long-only options here
|
||||
switch (opt_val) {
|
||||
case 1:
|
||||
std::cout << "pw version 2.0, © 2022 Bob Polis. All rights reserved.\n";
|
||||
std::cout << pw_version() << '\n';
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user