function show_commands() {
var commands = [];
$.each(files, function(i, f) {
function show_commands() {
var commands = [];
$.each(files, function(i, f) {
var command = ["pic-mv"];
if ("exposure" in picinfo[f]) {
command.push("-e " + picinfo[f].exposure);
var command = ["pic-mv"];
if ("exposure" in picinfo[f]) {
command.push("-e " + picinfo[f].exposure);
Mousetrap.bind('c', function() { $("#name").show().focus(); return false; });
Mousetrap.bind('%', function() { say((100 * input_index / files.length).toFixed(2) + "%"); });
Mousetrap.bind('!', show_commands);
Mousetrap.bind('c', function() { $("#name").show().focus(); return false; });
Mousetrap.bind('%', function() { say((100 * input_index / files.length).toFixed(2) + "%"); });
Mousetrap.bind('!', show_commands);