init(nix): adding the direnv for nix proposes
This commit is contained in:
parent
912d36b421
commit
49defbc453
5 changed files with 188 additions and 0 deletions
11
main.cpp
Normal file
11
main.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc != 3) {
|
||||
std::cerr << "Usage: " << argv[0] << " <port> <password>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
std::cout << "Port:" << argv[1] << std::endl;
|
||||
std::cout << "Password:" << argv[2] << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue