Skip to content

Commit

Permalink
handle --confdir argument
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed May 20, 2023
1 parent ca1f235 commit 2aef74d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main(int argc, char* argv[])
{
setupAllowCacheEncrypt = true;
}
else if (((*it == "-d") || (*it == "--configdir")) && (std::distance(it + 1, args.end()) > 0))
else if (((*it == "-d") || (*it == "--confdir")) && (std::distance(it + 1, args.end()) > 0))
{
++it;
Util::SetApplicationDir(*it);
Expand Down
2 changes: 1 addition & 1 deletion src/nmail.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NMAIL "1" "May 2023" "nmail v4.21" "User Commands"
.TH NMAIL "1" "May 2023" "nmail v4.22" "User Commands"
.SH NAME
nmail \- ncurses mail
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "version.h"

#define NMAIL_VERSION "4.21"
#define NMAIL_VERSION "4.22"

std::string Version::GetBuildOs()
{
Expand Down

0 comments on commit 2aef74d

Please sign in to comment.