# PN5_60844

Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)

# Description

Add new options to display all configuration settings and to output in JSON format

# Release Behavior

Options did not exist

# Current Release Behavior

jsh ~ -->config-strings -h

Description: Displays jBASE Config_EMULATE settings.
Usage:      config-strings {options}
            config-strings -h | -help | -?

Options:
   -a -all, display all configuration options indicating which ones
            are set and which are unassigned.
   -c -compact, display in compact format: key = value
   -e -emulation <<mode>>, display section for emulation <<mode>>
   -j{n} -json{n}, output is in JSON, where "n" specifies the JSON format.
                   Refer to the documentation for the $tojson() method.
                   This option produces an array with 2 elements:
                      array[0] is a header object, e.g.
                           {
                               "emulation":"jbase",
                               "system":"athens",
                               "date":"06 feb 2019",
                               "time":"15:24:52",
                               "user":"theaetetus"
                           },
                      array[1] is an object with the emulation settings
   -l -list, list sections in config_EMULATE
   [email protected], display @ values

 Examples:
    config-strings           display current emulation settings.
    config-strings -j        display current emulation settings, output as JSON
    config-strings -a        display all configuration settings
    config-strings -a -j1    display all settings, output as JSON and is formatted
    config-strings -e prime  display settings for the prime emulation
    config-strings -e d3 [email protected]  display settings and @ values for the d3 emulation
    config-strings -l        list sections in Config_EMULATE.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

Back to 5.7.2 Release Notes