Project

General

Profile

Actions

Feature #932

open

Allow passing command line arguments via shell script.

Added by Hammel almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
High
Assignee:
Category:
Build
Target version:
Start date:
13 Jan 2023
Due date:
% Done:

0%

Estimated time:
Severity:
01 - Critical

Description

Not sure how you pass command line arguments to a java program.

Adding support for command line options will allow setting the root directory, ie something other than ~/.xnotesng.

Actions #1

Updated by Hammel almost 2 years ago

For integer values, see https://stackoverflow.com/a/15704811.

For strings, see https://www.geeksforgeeks.org/command-line-arguments-in-java/.

The shell script just converts it's getopt arguments to the Java equivalent.

Actions #2

Updated by Hammel almost 2 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF