mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Documentation
- Added comment explaining why '--version' is supported in main.cpp, as several questions have come up.
This commit is contained in:
parent
ad3525c235
commit
aa70a14a2d
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ int main (int argc, const char** argv)
|
|||
{
|
||||
int status = 0;
|
||||
|
||||
// Lightweight version checking that doesn't require initialization or any I/O.
|
||||
if (argc == 2 && !strcmp (argv[1], "--version"))
|
||||
{
|
||||
std::cout << VERSION << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue