diff options
author | Siri Hansen <[email protected]> | 2013-02-22 09:57:32 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-02-22 09:57:32 +0100 |
commit | cd312a8ed8742705d3af46df09017619827b30e3 (patch) | |
tree | b9a5be3fb34e2c7ebb4220b4535814889460cbbb /lib/reltool/examples/display_args | |
parent | d1a7bed5b81aa619e09d951adbd947f680f76de6 (diff) | |
parent | 9993bd517665aed42fd9ca8ac22001f3eced6170 (diff) | |
download | otp-cd312a8ed8742705d3af46df09017619827b30e3.tar.gz otp-cd312a8ed8742705d3af46df09017619827b30e3.tar.bz2 otp-cd312a8ed8742705d3af46df09017619827b30e3.zip |
Merge branch 'siri/reltool/unicode/OTP-10781'
* siri/reltool/unicode/OTP-10781:
[reltool] Improve stability of tests
[reltool] Make escript test work with hipe and smp
[reltool] Add unicode test
[reltool] Change ~s to ~ts and ~p to ~tp when appropriate
[reltool] Add unicode option to re:compile to allow unicode filenames
[reltool] Fix reconstruct source from debug_info to handle unicode
[reltool] Honour encoding in reltool_utils:prim_consult
Diffstat (limited to 'lib/reltool/examples/display_args')
-rw-r--r-- | lib/reltool/examples/display_args | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/reltool/examples/display_args b/lib/reltool/examples/display_args index bf0994ab7c..a8882f7bda 100644 --- a/lib/reltool/examples/display_args +++ b/lib/reltool/examples/display_args @@ -1,8 +1,9 @@ #!/usr/bin/env escript %% -*- erlang -*- -%%! -smp disable +%%! -emuarg emuvalue main(Args) -> + {ok,[Emuvalue]} = init:get_argument(emuarg), io:format("Root dir: ~s\n", [code:root_dir()]), io:format("Script args: ~p\n", [Args]), - io:format("Smp: ~p\n", [erlang:system_info(smp_support)]). + io:format("Emuarg: ~p\n", [Emuvalue]). |