Revision bec7c2d4

b/qemu-options.hx
275 275
ETEXI
276 276

  
277 277
DEF("m", HAS_ARG, QEMU_OPTION_m,
278
    "-m megs         set virtual RAM size to megs MB [default=%d]\n")
278
    "-m megs         set virtual RAM size to megs MB [default="
279
    stringify(DEFAULT_RAM_SIZE) "]\n")
279 280
STEXI
280 281
@item -m @var{megs}
281 282
Set virtual RAM size to @var{megs} megabytes. Default is 128 MiB.  Optionally,
......
830 831
#else
831 832
    "-net tap[,vlan=n][,name=str][,fd=h][,ifname=name][,script=file][,downscript=dfile][,sndbuf=nbytes][,vnet_hdr=on|off]\n"
832 833
    "                connect the host TAP network interface to VLAN 'n' and use the\n"
833
    "                network scripts 'file' (default=%s)\n"
834
    "                and 'dfile' (default=%s)\n"
834
    "                network scripts 'file' (default=" DEFAULT_NETWORK_SCRIPT ")\n"
835
    "                and 'dfile' (default=" DEFAULT_NETWORK_DOWN_SCRIPT ")\n"
835 836
    "                use '[down]script=no' to disable script execution\n"
836 837
    "                use 'fd=h' to connect to an already opened TAP interface\n"
837 838
    "                use 'sndbuf=nbytes' to limit the size of the send buffer (the\n"
......
1664 1665
ETEXI
1665 1666

  
1666 1667
DEF("s", 0, QEMU_OPTION_s, \
1667
    "-s              shorthand for -gdb tcp::%s\n")
1668
    "-s              shorthand for -gdb tcp::" DEFAULT_GDBSTUB_PORT "\n")
1668 1669
STEXI
1669 1670
@item -s
1670 1671
Shorthand for -gdb tcp::1234, i.e. open a gdbserver on TCP port 1234
......
1672 1673
ETEXI
1673 1674

  
1674 1675
DEF("d", HAS_ARG, QEMU_OPTION_d, \
1675
    "-d item1,...    output log to %s (use -d ? for a list of log items)\n")
1676
    "-d item1,...    output log to /tmp/qemu.log (use -d ? for a list of log items)\n")
1676 1677
STEXI
1677 1678
@item -d
1678 1679
Output log in /tmp/qemu.log
b/vl.c
4041 4041
           "\n"
4042 4042
           "When using -nographic, press 'ctrl-a h' to get some help.\n"
4043 4043
           ,
4044
           "qemu",
4045
           DEFAULT_RAM_SIZE,
4046
#ifndef _WIN32
4047
           DEFAULT_NETWORK_SCRIPT,
4048
           DEFAULT_NETWORK_DOWN_SCRIPT,
4049
#endif
4050
           DEFAULT_GDBSTUB_PORT,
4051
           "/tmp/qemu.log");
4044
           "qemu");
4052 4045
    exit(exitcode);
4053 4046
}
4054 4047

  

Also available in: Unified diff